From eec1ec9904fe42123777fc2035263d3f52615b8f Mon Sep 17 00:00:00 2001 From: Brian DeHamer Date: Thu, 14 Aug 2025 15:29:10 -0700 Subject: [PATCH] pin workflow deps (#195) Signed-off-by: Brian DeHamer --- .github/workflows/check-dist.yml | 6 ++--- .github/workflows/ci.yml | 6 ++--- .github/workflows/codeql-analysis.yml | 8 +++---- .github/workflows/linter.yml | 4 ++-- .../workflows/publish-immutable-actions.yml | 22 ------------------- 5 files changed, 12 insertions(+), 34 deletions(-) delete mode 100644 .github/workflows/publish-immutable-actions.yml diff --git a/.github/workflows/check-dist.yml b/.github/workflows/check-dist.yml index 8857945..1d73cdd 100644 --- a/.github/workflows/check-dist.yml +++ b/.github/workflows/check-dist.yml @@ -28,11 +28,11 @@ jobs: steps: - name: Checkout id: checkout - uses: actions/checkout@v4 + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Setup Node.js id: setup-node - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version-file: .node-version cache: npm @@ -60,7 +60,7 @@ jobs: - if: ${{ failure() && steps.diff.outcome == 'failure' }} name: Upload Artifact id: upload - uses: actions/upload-artifact@v4 + uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4.6.2 with: name: dist path: dist/ diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c72cb10..09f12e4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -21,11 +21,11 @@ jobs: steps: - name: Checkout id: checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Setup Node.js id: setup-node - uses: actions/setup-node@b39b52d1213e96004bfcb1c61a8a6fa8ab84f3e8 # v4.0.1 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version-file: .node-version cache: npm @@ -57,7 +57,7 @@ jobs: steps: - name: Checkout id: checkout - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1 + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Run attest-sbom id: attest-sbom uses: ./ diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index b0d0a0b..926d3b5 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -32,19 +32,19 @@ jobs: steps: - name: Checkout id: checkout - uses: actions/checkout@v4 + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 - name: Initialize CodeQL id: initialize - uses: github/codeql-action/init@v3 + uses: github/codeql-action/init@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.9 with: languages: ${{ matrix.language }} source-root: src - name: Autobuild id: autobuild - uses: github/codeql-action/autobuild@v3 + uses: github/codeql-action/autobuild@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.9 - name: Perform CodeQL Analysis id: analyze - uses: github/codeql-action/analyze@v3 + uses: github/codeql-action/analyze@df559355d593797519d70b90fc8edd5db049e7a2 # v3.29.9 diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 4e8e8ce..ebdf9e5 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -21,13 +21,13 @@ jobs: steps: - name: Checkout id: checkout - uses: actions/checkout@v4 + uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 with: fetch-depth: 0 - name: Setup Node.js id: setup-node - uses: actions/setup-node@v4 + uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0 with: node-version-file: .node-version cache: npm diff --git a/.github/workflows/publish-immutable-actions.yml b/.github/workflows/publish-immutable-actions.yml deleted file mode 100644 index 99bb5ec..0000000 --- a/.github/workflows/publish-immutable-actions.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: 'Publish Immutable Action Version' - -on: - release: - types: [published] - -permissions: {} - -jobs: - publish: - runs-on: ubuntu-latest - permissions: - contents: read - id-token: write - packages: write - - steps: - - name: Checking out - uses: actions/checkout@v4 - - name: Publish - id: publish - uses: actions/publish-immutable-action@v0.0.4