From e41f387cf8891908fb6d59e57f5ea1048524e51d Mon Sep 17 00:00:00 2001 From: walkowif <59475134+walkowif@users.noreply.github.com> Date: Tue, 23 Apr 2024 13:00:29 +0200 Subject: [PATCH] Use older version of `actions/checkout` (#226) --- .github/workflows/audit.yaml | 4 ++-- .github/workflows/bioccheck.yaml | 4 ++-- .github/workflows/branch-cleanup.yaml | 2 +- .github/workflows/build-check-install.yaml | 12 ++++++------ .github/workflows/gitleaks.yaml | 8 ++++---- .github/workflows/grammar.yaml | 4 ++-- .github/workflows/licenses.yaml | 4 ++-- .github/workflows/links.yaml | 4 ++-- .github/workflows/linter.yaml | 8 ++++---- .github/workflows/pkgdown.yaml | 10 +++++----- .github/workflows/release.yaml | 2 +- .github/workflows/roxygen.yaml | 4 ++-- .github/workflows/spelling.yaml | 4 ++-- .github/workflows/style.yaml | 4 ++-- .github/workflows/test-coverage.yaml | 10 +++++----- .github/workflows/validation.yaml | 6 +++--- .github/workflows/verdepcheck.yaml | 2 +- .github/workflows/version-bump.yaml | 2 +- .github/workflows/version.yaml | 8 ++++---- 19 files changed, 51 insertions(+), 51 deletions(-) diff --git a/.github/workflows/audit.yaml b/.github/workflows/audit.yaml index 6ddf6db0..0a5ad5da 100644 --- a/.github/workflows/audit.yaml +++ b/.github/workflows/audit.yaml @@ -41,7 +41,7 @@ jobs: uses: tj-actions/branch-names@v7 - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} @@ -49,7 +49,7 @@ jobs: fetch-depth: 1 - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} diff --git a/.github/workflows/bioccheck.yaml b/.github/workflows/bioccheck.yaml index d79b4179..022be715 100644 --- a/.github/workflows/bioccheck.yaml +++ b/.github/workflows/bioccheck.yaml @@ -93,7 +93,7 @@ jobs: uses: tj-actions/branch-names@v7 - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} @@ -101,7 +101,7 @@ jobs: repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} diff --git a/.github/workflows/branch-cleanup.yaml b/.github/workflows/branch-cleanup.yaml index f9b09b25..97b042fd 100644 --- a/.github/workflows/branch-cleanup.yaml +++ b/.github/workflows/branch-cleanup.yaml @@ -37,7 +37,7 @@ jobs: shell: bash - name: Checkout Code ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 - name: Cleanup branches ๐ŸŒฟ uses: phpdocker-io/github-actions-delete-abandoned-branches@v1 diff --git a/.github/workflows/build-check-install.yaml b/.github/workflows/build-check-install.yaml index 6a53c524..04ed446e 100644 --- a/.github/workflows/build-check-install.yaml +++ b/.github/workflows/build-check-install.yaml @@ -231,7 +231,7 @@ jobs: uses: tj-actions/branch-names@v7 - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} @@ -240,7 +240,7 @@ jobs: fetch-depth: 0 - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} @@ -265,7 +265,7 @@ jobs: inputs.publish-unit-test-report-gh-pages == true && github.event_name != 'pull_request' id: checkout-gh-pages - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 with: ref: gh-pages path: gh-pages @@ -488,7 +488,7 @@ jobs: - name: Fetch report from ${{ env.junit_xml_storage }} โคต๏ธ if: env.junit_xml_comparison == 'true' - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 with: path: ${{ env.junit_xml_storage }} fetch-depth: 0 @@ -587,7 +587,7 @@ jobs: - name: Fetch JUnit XML reports from ${{ env.junit_xml_storage }} โคต๏ธ if: steps.check-junit-xml.outputs.files_exists == 'true' && env.junit_xml_comparison == 'true' - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 with: path: ${{ env.junit_xml_storage }} fetch-depth: 0 @@ -858,7 +858,7 @@ jobs: steps: - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 - name: Get package build filename ๐Ÿ“ฆ run: | diff --git a/.github/workflows/gitleaks.yaml b/.github/workflows/gitleaks.yaml index 07c8223d..4decb2b9 100644 --- a/.github/workflows/gitleaks.yaml +++ b/.github/workflows/gitleaks.yaml @@ -45,14 +45,14 @@ jobs: uses: tj-actions/branch-names@v7 - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} @@ -103,7 +103,7 @@ jobs: uses: tj-actions/branch-names@v7 - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} @@ -111,7 +111,7 @@ jobs: fetch-depth: 0 - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} diff --git a/.github/workflows/grammar.yaml b/.github/workflows/grammar.yaml index e2a16a7d..a5671181 100644 --- a/.github/workflows/grammar.yaml +++ b/.github/workflows/grammar.yaml @@ -44,14 +44,14 @@ jobs: uses: tj-actions/branch-names@v7 - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} diff --git a/.github/workflows/licenses.yaml b/.github/workflows/licenses.yaml index bf105903..66d98ca3 100644 --- a/.github/workflows/licenses.yaml +++ b/.github/workflows/licenses.yaml @@ -39,14 +39,14 @@ jobs: uses: tj-actions/branch-names@v7 - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} diff --git a/.github/workflows/links.yaml b/.github/workflows/links.yaml index 403ca526..768dd205 100644 --- a/.github/workflows/links.yaml +++ b/.github/workflows/links.yaml @@ -39,14 +39,14 @@ jobs: uses: tj-actions/branch-names@v7 - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} diff --git a/.github/workflows/linter.yaml b/.github/workflows/linter.yaml index 88d45551..28067889 100644 --- a/.github/workflows/linter.yaml +++ b/.github/workflows/linter.yaml @@ -45,7 +45,7 @@ jobs: uses: tj-actions/branch-names@v7 - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} @@ -53,7 +53,7 @@ jobs: fetch-depth: 0 - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} @@ -121,14 +121,14 @@ jobs: steps: - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ github.event.pull_request.head.sha }} fetch-depth: 0 - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: fetch-depth: 0 diff --git a/.github/workflows/pkgdown.yaml b/.github/workflows/pkgdown.yaml index 7e18c672..d2a0142d 100644 --- a/.github/workflows/pkgdown.yaml +++ b/.github/workflows/pkgdown.yaml @@ -160,7 +160,7 @@ jobs: shell: bash - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} @@ -168,7 +168,7 @@ jobs: repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} @@ -243,7 +243,7 @@ jobs: - name: Checkout gh-pages ๐Ÿ›Ž if: startsWith(github.ref, 'refs/tags/v') || github.event_name == 'push' - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 with: path: "gh-pages" fetch-depth: 0 @@ -300,7 +300,7 @@ jobs: && !contains(github.event.commits[0].message, '[skip docs]') steps: - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 with: path: ${{ github.event.repository.name }} ref: "gh-pages" @@ -336,7 +336,7 @@ jobs: && !contains(github.event.commits[0].message, '[skip docs]') steps: - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 - name: Download artifact โฌ uses: actions/download-artifact@v4 diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 543cd005..c262048f 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -50,7 +50,7 @@ jobs: shell: bash - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 - name: Check commit message ๐Ÿ’ฌ run: | diff --git a/.github/workflows/roxygen.yaml b/.github/workflows/roxygen.yaml index 5020d230..497f6b03 100644 --- a/.github/workflows/roxygen.yaml +++ b/.github/workflows/roxygen.yaml @@ -79,7 +79,7 @@ jobs: uses: tj-actions/branch-names@v7 - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} @@ -88,7 +88,7 @@ jobs: token: ${{ steps.github-token.outputs.token }} - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} diff --git a/.github/workflows/spelling.yaml b/.github/workflows/spelling.yaml index 8d1e335a..3f594e7d 100644 --- a/.github/workflows/spelling.yaml +++ b/.github/workflows/spelling.yaml @@ -63,7 +63,7 @@ jobs: uses: tj-actions/branch-names@v7 - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} @@ -72,7 +72,7 @@ jobs: token: ${{ steps.github-token.outputs.token }} - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} diff --git a/.github/workflows/style.yaml b/.github/workflows/style.yaml index 5a24b8a8..4572694a 100644 --- a/.github/workflows/style.yaml +++ b/.github/workflows/style.yaml @@ -64,7 +64,7 @@ jobs: uses: tj-actions/branch-names@v7 - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} @@ -74,7 +74,7 @@ jobs: token: ${{ steps.github-token.outputs.token }} - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} diff --git a/.github/workflows/test-coverage.yaml b/.github/workflows/test-coverage.yaml index f3aba70e..9ab106e4 100644 --- a/.github/workflows/test-coverage.yaml +++ b/.github/workflows/test-coverage.yaml @@ -131,7 +131,7 @@ jobs: github.event_name != 'pull_request' && inputs.publish-coverage-report-gh-pages == true id: checkout-gh-pages - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 with: ref: gh-pages path: gh-pages @@ -167,7 +167,7 @@ jobs: shell: bash - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} @@ -175,7 +175,7 @@ jobs: repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} @@ -333,7 +333,7 @@ jobs: uses: tj-actions/branch-names@v7 - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} @@ -341,7 +341,7 @@ jobs: repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} diff --git a/.github/workflows/validation.yaml b/.github/workflows/validation.yaml index 33e95151..0396f549 100644 --- a/.github/workflows/validation.yaml +++ b/.github/workflows/validation.yaml @@ -79,14 +79,14 @@ jobs: uses: tj-actions/branch-names@v7 - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} @@ -148,7 +148,7 @@ jobs: if: startsWith(github.ref, 'refs/tags/v') steps: - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 - name: Download artifact โฌ uses: actions/download-artifact@v4 diff --git a/.github/workflows/verdepcheck.yaml b/.github/workflows/verdepcheck.yaml index 5c352207..9dd4a5e2 100644 --- a/.github/workflows/verdepcheck.yaml +++ b/.github/workflows/verdepcheck.yaml @@ -67,7 +67,7 @@ jobs: uses: tj-actions/branch-names@v7 - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} fetch-depth: 1 diff --git a/.github/workflows/version-bump.yaml b/.github/workflows/version-bump.yaml index cf1b7c9b..1ea6190e 100644 --- a/.github/workflows/version-bump.yaml +++ b/.github/workflows/version-bump.yaml @@ -61,7 +61,7 @@ jobs: uses: tj-actions/branch-names@v7 - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} token: ${{ steps.github-token.outputs.token }} diff --git a/.github/workflows/version.yaml b/.github/workflows/version.yaml index 58264edf..7e4c2506 100644 --- a/.github/workflows/version.yaml +++ b/.github/workflows/version.yaml @@ -40,14 +40,14 @@ jobs: uses: tj-actions/branch-names@v7 - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} @@ -103,14 +103,14 @@ jobs: uses: tj-actions/branch-names@v7 - name: Checkout repo (PR) ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name == 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }} repository: ${{ github.event.pull_request.head.repo.full_name }} - name: Checkout repo ๐Ÿ›Ž - uses: actions/checkout@v4 + uses: actions/checkout@v4.1.1 if: github.event_name != 'pull_request' with: ref: ${{ steps.branch-name.outputs.head_ref_branch }}