diff --git a/.github/workflows/clean-up-storage.yaml b/.github/workflows/clean-up-storage.yaml index 55105d6d..2cee0908 100644 --- a/.github/workflows/clean-up-storage.yaml +++ b/.github/workflows/clean-up-storage.yaml @@ -24,7 +24,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cleanup run: | @@ -50,7 +50,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Cleanup run: | diff --git a/.github/workflows/license.yaml b/.github/workflows/license.yaml index 98439efc..4a0b34b8 100644 --- a/.github/workflows/license.yaml +++ b/.github/workflows/license.yaml @@ -38,7 +38,7 @@ jobs: runs-on: ubuntu-latest if: ${{ !github.event.pull_request.draft }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ secrets.REPO_PAT }} ref: ${{github.event.pull_request.head.ref}} diff --git a/.github/workflows/markdown.yaml b/.github/workflows/markdown.yaml index e1465138..1bd6cf28 100644 --- a/.github/workflows/markdown.yaml +++ b/.github/workflows/markdown.yaml @@ -59,7 +59,9 @@ jobs: files-changed: ${{ steps.filter.outputs.markdown }} steps: - uses: actions/checkout@v4 - - uses: dorny/paths-filter@v2 + with: + fetch-depth: 2 # To retrieve the preceding commit. + - uses: mirpedrol/paths-filter@changes-last-commit id: filter with: filters: | @@ -77,7 +79,7 @@ jobs: if: ${{ needs.changes.outputs.files-changed == 'true' && !github.event.pull_request.draft }} runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ secrets.REPO_PAT }} ref: ${{github.event.pull_request.head.ref}} @@ -119,7 +121,7 @@ jobs: needs: changes if: ${{ needs.changes.outputs.files-changed == 'true' && !github.event.pull_request.draft && (!inputs.skip-spell-check || inputs.skip-spell-check == '') }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: token: ${{ secrets.REPO_PAT }} ref: ${{github.event.pull_request.head.ref}} diff --git a/.github/workflows/release-notes.yaml b/.github/workflows/release-notes.yaml index 6c573413..7564f233 100644 --- a/.github/workflows/release-notes.yaml +++ b/.github/workflows/release-notes.yaml @@ -47,7 +47,7 @@ jobs: runs-on: ubuntu-latest if: ${{ !github.event.pull_request.draft }} steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: ref: ${{ github.head_ref }} token: ${{ secrets.REPO_PAT }} @@ -179,7 +179,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v4 with: fetch-depth: 0 - name: Select configuration