diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 6845a5c5..3a9c6487 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -79,7 +79,7 @@ jobs: persist-credentials: false - name: Initialise CodeQL - uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 + uses: github/codeql-action/init@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5 with: languages: javascript-typescript # security-and-quality, not the default security-extended. The quality queries are the @@ -112,7 +112,7 @@ jobs: # leave a step in the log implying a build happened. - name: Analyze - uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 + uses: github/codeql-action/analyze@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5 with: category: /language:javascript-typescript # fact: code scanning on a private repository needs GitHub Advanced Security; without it the @@ -145,14 +145,14 @@ jobs: persist-credentials: false - name: Initialise CodeQL - uses: github/codeql-action/init@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 + uses: github/codeql-action/init@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5 with: languages: actions build-mode: none queries: security-and-quality - name: Analyze - uses: github/codeql-action/analyze@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 + uses: github/codeql-action/analyze@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5 with: category: /language:actions upload: ${{ github.event.repository.private && 'never' || 'always' }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 8fdc6be4..08f8418b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -115,7 +115,7 @@ jobs: cmp "dist/$f" "$RUNNER_TEMP/again/$f" || { echo "::error::two packs of one tree differ; the build is not reproducible"; exit 1; } sha256sum "dist/$f" - name: CycloneDX SBOM of the tarball - uses: anchore/sbom-action@66cbf4bc1f1c0d2edc94016e65bc221b6bb0ad6c # v0.24.3 + uses: anchore/sbom-action@dfcb83b97731532d72be422cbc51ee64adb6fd56 # v0.24.4 with: file: dist/commitwork-${{ env.VERSION }}.tgz format: cyclonedx-json diff --git a/.github/workflows/scorecard.yml b/.github/workflows/scorecard.yml index decde84e..60fca6cd 100644 --- a/.github/workflows/scorecard.yml +++ b/.github/workflows/scorecard.yml @@ -39,7 +39,7 @@ jobs: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: persist-credentials: false - - uses: ossf/scorecard-action@fa7117db83c52d787ae5a89f350999701505d78e # v2.5.0 + - uses: ossf/scorecard-action@23f22cd43608bae7a1f1fa2603d7314dee9538a5 # v2.6.0 with: results_file: scorecard.sarif results_format: sarif @@ -51,6 +51,6 @@ jobs: name: scorecard-sarif path: scorecard.sarif retention-days: 5 - - uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 + - uses: github/codeql-action/upload-sarif@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5 with: sarif_file: scorecard.sarif diff --git a/action.yml b/action.yml index ae8e2115..8e1a2364 100644 --- a/action.yml +++ b/action.yml @@ -173,7 +173,7 @@ runs: - name: Upload the SARIF to code scanning if: inputs.upload-sarif == 'true' && steps.run.outputs.sarif != '' - uses: github/codeql-action/upload-sarif@33d7b85da1a04171e211befe2c739303b9a4c066 # v4.39.3 + uses: github/codeql-action/upload-sarif@915412ff23e8b7659517e607487dbeae018f2934 # v4.39.5 with: sarif_file: ${{ steps.run.outputs.sarif }} checkout_path: ${{ steps.run.outputs.repo }}