Repository navigation
fix: update GitHub Actions to latest validated versions (86 updates) #15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
0314a1b
a5a365d
b0173d6
84194f9
2e96a23
8118295
0fb1ec7
34e64c1
7c0e248
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -172,7 +172,7 @@ jobs: | |
|
|
||
| steps: | ||
| - name: Harden Runner | ||
| uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | ||
| uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0 | ||
| with: | ||
| egress-policy: audit | ||
|
|
||
|
|
@@ -182,10 +182,10 @@ jobs: | |
| fetch-depth: 0 | ||
|
|
||
| - name: Set up QEMU | ||
| uses: docker/setup-qemu-action@49b3bc8e6bdd4a60e6116a5414239cba5943d3cf # v3.2.0 | ||
| uses: docker/setup-qemu-action@53851d14592bedcffcf25ea515637cff71ef929a # v3.3.0 | ||
|
|
||
| - name: Set up Docker Buildx | ||
| uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1 | ||
| uses: docker/setup-buildx-action@6524bf65af31da8d45b59e8c27de4bd072b392f5 # v3.8.0 | ||
|
|
||
| - name: Determine image name | ||
| id: image-name | ||
|
|
@@ -245,7 +245,7 @@ jobs: | |
|
|
||
| - name: Generate Docker metadata | ||
| id: meta | ||
| uses: docker/metadata-action@8e5442c4ef9f78752691e2d8f8d19755c6f78e81 # v5.5.1 | ||
| uses: docker/metadata-action@369eb591f429131d6889c46b94e711f089e6ca96 # v5.6.1 | ||
| with: | ||
| images: ${{ steps.image-name.outputs.name }} | ||
| tags: | | ||
|
|
@@ -292,7 +292,7 @@ jobs: | |
|
|
||
| - name: Run Trivy vulnerability scanner (local image) | ||
| if: inputs.enable-trivy-scan && steps.push-check.outputs.push != 'true' | ||
| uses: aquasecurity/trivy-action@18f2510ee396bbf400402947b394f2dd8c87dbb0 # v0.29.0 | ||
| uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # v0.33.1 | ||
|
||
| with: | ||
| input: '/tmp/image.tar' | ||
| format: 'sarif' | ||
|
|
@@ -302,7 +302,7 @@ jobs: | |
|
|
||
| - name: Run Trivy vulnerability scanner (registry image) | ||
| if: inputs.enable-trivy-scan && steps.push-check.outputs.push == 'true' | ||
| uses: aquasecurity/trivy-action@18f2510ee396bbf400402947b394f2dd8c87dbb0 # v0.29.0 | ||
| uses: aquasecurity/trivy-action@b6643a29fecd7f34b3597bc6acb0a98b03d33ff8 # v0.33.1 | ||
| with: | ||
| image-ref: ${{ steps.image-name.outputs.name }}:${{ github.sha }} | ||
| format: 'sarif' | ||
|
|
@@ -312,7 +312,7 @@ jobs: | |
|
|
||
| - name: Upload Trivy scan results | ||
| if: inputs.enable-trivy-scan && always() | ||
| uses: github/codeql-action/upload-sarif@48ab28a6f5dbc2a99bf1e0131198dd8f1df78169 # v3.28.0 | ||
| uses: github/codeql-action/upload-sarif@8ff85221d12737ec1137e6a892722e5130f32d05 # v3.28.8 | ||
| with: | ||
| sarif_file: 'trivy-results.sarif' | ||
| continue-on-error: true | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -67,7 +67,7 @@ jobs: | |
|
|
||
| steps: | ||
| - name: Harden Runner | ||
| uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | ||
| uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0 | ||
| with: | ||
| egress-policy: audit | ||
|
|
||
|
|
@@ -88,7 +88,7 @@ jobs: | |
| cache-dependency-glob: "uv.lock" | ||
|
|
||
| - name: Cache dependencies | ||
| uses: actions/cache@0057852bfaa89a56745cba8c7296529d2fc39830 # v4.3.0 | ||
| uses: actions/cache@1bd1e32a3bdc45362d1e726936510720a7c30a57 # v4.2.0 | ||
|
||
| with: | ||
| path: .venv | ||
| key: venv-${{ runner.os }}-${{ hashFiles('**/uv.lock') }}-docs | ||
|
|
@@ -137,7 +137,7 @@ jobs: | |
| path: site/ | ||
|
|
||
| - name: Setup Pages | ||
| uses: actions/configure-pages@1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d # v4 | ||
| uses: actions/configure-pages@983d7736d9b0ae728b81ab479565c72886d7745b # v5.0.0 | ||
|
|
||
| - name: Upload to GitHub Pages | ||
| uses: actions/upload-pages-artifact@56afc609e74202658d3ffba0e8f6dda462b719fa # v3 | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -115,7 +115,7 @@ jobs: | |
|
|
||
| steps: | ||
| - name: Harden Runner | ||
| uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | ||
| uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0 | ||
| with: | ||
| egress-policy: audit | ||
|
|
||
|
|
@@ -153,7 +153,7 @@ jobs: | |
|
|
||
| steps: | ||
| - name: Harden Runner | ||
| uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 # v2.10.1 | ||
| uses: step-security/harden-runner@20cf305ff2072d973412fa9b1e3a4f227bda3c76 # v2.14.0 | ||
| with: | ||
| egress-policy: audit | ||
|
|
||
|
|
@@ -208,7 +208,7 @@ jobs: | |
|
|
||
| - name: Upload to Qlty | ||
| if: steps.verify.outputs.primary_exists == 'true' | ||
| uses: qltysh/qlty-action/coverage@5ae0d52aa70ca423aa85f3cea4db51f6a8b46e90 # v2.0.0 | ||
| uses: qltysh/qlty-action/coverage@80d7816d35d38d39d237be283ba10d05a7057438 # v2.0.0 | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. π§© Analysis chainπ Script executed: #!/bin/bash
# Verify qltysh/qlty-action v2.0.0 tag and commit history
echo "Checking qltysh/qlty-action v2.0.0 tag..."
gh api repos/qltysh/qlty-action/git/ref/tags/v2.0.0 --jq '.object | {sha, type}' 2>/dev/null || echo "Tag lookup failed"
echo ""
echo "Expected SHA from workflow: 80d7816d35d38d39d237be283ba10d05a7057438"
echo ""
echo "Checking if commit exists in repository..."
gh api repos/qltysh/qlty-action/commits/80d7816d35d38d39d237be283ba10d05a7057438 --jq '{sha, commit: .commit.message}' 2>/dev/null || echo "Commit not found"
echo ""
echo "Checking recent tags for any anomalies..."
gh api repos/qltysh/qlty-action/git/refs/tags --jq '.[] | select(.ref | contains("v2.0")) | {ref, sha: .object.sha}' 2>/dev/null || echo "Tag refs lookup failed"Repository: ByronWilliamsCPA/.github Length of output: 597 The v2.0.0 tag for qltysh/qlty-action points to a non-existent commit. The commit hash π€ Prompt for AI Agents |
||
| with: | ||
| token: ${{ secrets.QLTY_COVERAGE_TOKEN }} | ||
| files: ${{ inputs.coverage-file-path }}${{ inputs.additional-files != '' && format(',{0}', inputs.additional-files) || '' }} | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The SHA hash appears to be incorrect. It shows "0303d6b62e310685c0e34d0b9cde218036885c4d" but according to the PR description, it should be "0303d6b62e310685c0e34d0b9cde21803688baa5". The current SHA has "218036885c4d" at the end while the PR description states it should be "21803688baa5". Please verify which SHA is correct for v5.0.0 of this action.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
β The SHA in the code is CORRECT
Same as python-sonarcloud.yml - our SHA
0303d6b62e310685c0e34d0b9cde218036885c4dis verified correct for v5.0.0.The Gemini-provided SHA in the PR description was invalid. Current code uses the GitHub API-verified SHA.