From 6319648243cb93834f0f47c845e1355e1154165b Mon Sep 17 00:00:00 2001 From: Kavin <20838718+FireMasterK@users.noreply.github.com> Date: Mon, 2 Oct 2023 07:41:05 +0100 Subject: [PATCH] actions: pin checkout to v4 --- .github/workflows/charts-changelog.yaml | 4 ++-- .github/workflows/charts-lint.yaml | 2 +- .github/workflows/charts-release-ghpages.yaml | 4 ++-- .github/workflows/charts-release.yaml | 4 ++-- .github/workflows/pr-metadata.yaml | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/charts-changelog.yaml b/.github/workflows/charts-changelog.yaml index 10a8c25..50bf332 100644 --- a/.github/workflows/charts-changelog.yaml +++ b/.github/workflows/charts-changelog.yaml @@ -20,7 +20,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -46,7 +46,7 @@ jobs: commitHash: ${{ steps.save-commit-hash.outputs.commit_hash }} steps: - name: Checkout - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + uses: actions/checkout@v4 with: fetch-depth: 0 diff --git a/.github/workflows/charts-lint.yaml b/.github/workflows/charts-lint.yaml index a89ad74..57aa923 100644 --- a/.github/workflows/charts-lint.yaml +++ b/.github/workflows/charts-lint.yaml @@ -30,7 +30,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: ${{ inputs.checkoutCommit }} diff --git a/.github/workflows/charts-release-ghpages.yaml b/.github/workflows/charts-release-ghpages.yaml index d2b5a5d..bcd00ff 100644 --- a/.github/workflows/charts-release-ghpages.yaml +++ b/.github/workflows/charts-release-ghpages.yaml @@ -24,14 +24,14 @@ jobs: run: export OPENSSL_CONF=/dev/null - name: Checkout charts branch - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN }} path: "src" fetch-depth: 0 - name: Checkout gh-pages branch - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + uses: actions/checkout@v4 with: token: ${{ secrets.GITHUB_TOKEN}} path: "dest" diff --git a/.github/workflows/charts-release.yaml b/.github/workflows/charts-release.yaml index 5e096a9..107beb1 100644 --- a/.github/workflows/charts-release.yaml +++ b/.github/workflows/charts-release.yaml @@ -29,7 +29,7 @@ jobs: charts-to-release: ${{ steps.collect-charts.outputs.charts }} steps: - name: Checkout - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + uses: actions/checkout@v4 with: fetch-depth: 0 @@ -47,4 +47,4 @@ jobs: - prepare with: charts: "${{ needs.prepare.outputs.charts-to-release }}" - secrets: inherit \ No newline at end of file + secrets: inherit diff --git a/.github/workflows/pr-metadata.yaml b/.github/workflows/pr-metadata.yaml index 12d28b1..3ceae6a 100644 --- a/.github/workflows/pr-metadata.yaml +++ b/.github/workflows/pr-metadata.yaml @@ -59,7 +59,7 @@ jobs: chartsToInstall: ${{ steps.changed-charts.outputs.chartsToInstall }} steps: - name: Checkout - uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 + uses: actions/checkout@v4 with: fetch-depth: 0