diff --git a/.github/workflows/build-draft-docs.yml b/.github/workflows/build-draft-docs.yml index 2a33e2bc..62f72e88 100644 --- a/.github/workflows/build-draft-docs.yml +++ b/.github/workflows/build-draft-docs.yml @@ -12,10 +12,10 @@ jobs: runs-on: ubuntu-20.04 steps: - name: Checkout the code - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 - name: Checkout old version for redline if: ${{ github.event_name == 'pull_request' || github.event_name == 'push' }} - uses: actions/checkout@v2 + uses: actions/checkout@v3.1.0 with: ref: ${{ github.event.pull_request.base.sha || github.event.push.before }} path: old/