diff --git a/.github/workflows/scorecard.yaml b/.github/workflows/scorecard.yaml index 9bfacc4..5a3695c 100644 --- a/.github/workflows/scorecard.yaml +++ b/.github/workflows/scorecard.yaml @@ -32,12 +32,12 @@ jobs: steps: - name: "Checkout code" - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - name: "Run analysis" - uses: ossf/scorecard-action@4eaacf0543bb3f2c246792bd56e8cdeffafb205a # v2.4.3 + uses: ossf/scorecard-action@2d1146689b8cda280b9bc96326124645441f03bc # v2.4.4 with: results_file: results.sarif results_format: sarif @@ -59,7 +59,7 @@ jobs: # Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF # format to the repository Actions tab. - name: "Upload artifact" - uses: actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f # v7.0.0 + uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 with: name: SARIF file path: results.sarif @@ -67,6 +67,6 @@ jobs: # Upload the results to GitHub's code scanning dashboard. - name: "Upload to code-scanning" - uses: github/codeql-action/upload-sarif@89a39a4e59826350b863aa6b6252a07ad50cf83e # v4.32.4 + uses: github/codeql-action/upload-sarif@e4fba868fa4b1b91e1fdab776edc8cfbe6e9fb81 # v4.37.3 with: sarif_file: results.sarif diff --git a/.github/workflows/test-local-action-inside-home.yaml b/.github/workflows/test-local-action-inside-home.yaml index 4f11415..1b5aea2 100644 --- a/.github/workflows/test-local-action-inside-home.yaml +++ b/.github/workflows/test-local-action-inside-home.yaml @@ -21,7 +21,7 @@ jobs: name: local-inside-home steps: - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4 - name: Setup Bats and Bats libs id: setup-bats uses: ./ @@ -98,7 +98,7 @@ jobs: name: local-inside-home-cache steps: - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4 - name: Setup Bats and Bats libs id: setup-bats uses: ./ diff --git a/.github/workflows/test-local-action-with-conditionals.yaml b/.github/workflows/test-local-action-with-conditionals.yaml index f496a3c..66db5b2 100644 --- a/.github/workflows/test-local-action-with-conditionals.yaml +++ b/.github/workflows/test-local-action-with-conditionals.yaml @@ -21,7 +21,7 @@ jobs: name: local-options steps: - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4 - name: Setup Bats and Bats libs id: setup-bats uses: ./ diff --git a/.github/workflows/test-local-action.yaml b/.github/workflows/test-local-action.yaml index 619138d..26b9c7c 100644 --- a/.github/workflows/test-local-action.yaml +++ b/.github/workflows/test-local-action.yaml @@ -21,7 +21,7 @@ jobs: name: local steps: - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4 - name: Setup Bats and Bats libs id: setup-bats uses: ./ @@ -88,7 +88,7 @@ jobs: name: local-default-no-cache steps: - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4 - name: Setup Bats and Bats libs uses: ./ id: setup-bats diff --git a/.github/workflows/test-public-action.yaml b/.github/workflows/test-public-action.yaml index 84db366..67c18f8 100644 --- a/.github/workflows/test-public-action.yaml +++ b/.github/workflows/test-public-action.yaml @@ -22,7 +22,7 @@ jobs: name: public steps: - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4 - name: Setup Bats and Bats libs id: setup-bats uses: bats-core/bats-action@main @@ -89,7 +89,7 @@ jobs: name: public-no-cache steps: - name: Checkout - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4 - name: Setup Bats and Bats-libs uses: bats-core/bats-action@main id: setup-bats diff --git a/.github/workflows/update-pre-commit-hooks.yaml b/.github/workflows/update-pre-commit-hooks.yaml index d5de45b..5aa6658 100644 --- a/.github/workflows/update-pre-commit-hooks.yaml +++ b/.github/workflows/update-pre-commit-hooks.yaml @@ -10,7 +10,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Check out code - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v4 + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v4 - name: Update pre-commit hooks uses: brokenpip3/action-pre-commit-update@main with: diff --git a/action.yaml b/action.yaml index 10f19ff..7467561 100644 --- a/action.yaml +++ b/action.yaml @@ -113,7 +113,7 @@ runs: steps: # This action would be much easier if only matrix steps will be supported in a composite action - name: "Set cache for Bats" - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v4 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v4 if: inputs.bats-install == 'true' id: bats-cache with: @@ -202,7 +202,7 @@ runs: - name: "Set cache for Bats-support" if: inputs.support-install == 'true' - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v4 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v4 id: support-cache with: path: ${{ env.SUPPORT_DESTDIR }} @@ -251,7 +251,7 @@ runs: - name: "Set cache for Bats-assert" if: inputs.assert-install == 'true' - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v4 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v4 id: assert-cache with: path: ${{ env.ASSERT_DESTDIR }} @@ -300,7 +300,7 @@ runs: - name: "Set cache for Bats-detik" if: inputs.detik-install == 'true' - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v4 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v4 id: detik-cache with: path: ${{ env.DETIK_DESTDIR }} @@ -348,7 +348,7 @@ runs: - name: "Set cache for Bats-file" if: inputs.file-install == 'true' - uses: actions/cache@cdf6c1fa76f9f475f3d7449005a359c84ca0f306 # v4 + uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v4 id: file-cache with: path: ${{ env.FILE_DESTDIR }}