-
-
Notifications
You must be signed in to change notification settings - Fork 0
fix(ci): pin third-party actions to full commit SHAs #60
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
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -21,7 +21,7 @@ jobs: | |
| timeout-minutes: 15 | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/[email protected] | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| - name: Trigger BoJ Server (Casket/ssg-mcp) | ||
| env: | ||
| BOJ_URL: ${{ secrets.BOJ_SERVER_URL || vars.BOJ_SERVER_URL }} | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,13 +33,13 @@ jobs: | |
| build-mode: none | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/[email protected] | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| - name: Initialize CodeQL | ||
| uses: github/codeql-action/[email protected] | ||
| uses: github/codeql-action/init@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0 | ||
| with: | ||
| languages: ${{ matrix.language }} | ||
| build-mode: ${{ matrix.build-mode }} | ||
| - name: Perform CodeQL Analysis | ||
| uses: github/codeql-action/[email protected] | ||
| uses: github/codeql-action/analyze@b96794f015dfd88f77b49b1c93e0fa7110f94c63 # v4.38.0 | ||
| with: | ||
| category: "/language:${{ matrix.language }}" | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -54,7 +54,7 @@ jobs: | |
| steps: | ||
| - name: Fetch Dependabot metadata | ||
| id: meta | ||
| uses: dependabot/[email protected] | ||
| uses: dependabot/fetch-metadata@25dd0e34f4fe68f24cc83900b1fe3fe149efef98 # v3.1.0 | ||
| with: | ||
| github-token: ${{ secrets.GITHUB_TOKEN }} | ||
| # --- Policy gate ------------------------------------------------------- | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,7 +29,7 @@ jobs: | |
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/[email protected] | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
|
|
||
| - name: Check for A2ML files | ||
| id: detect | ||
|
|
@@ -70,7 +70,7 @@ jobs: | |
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/[email protected] | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
|
|
||
| - name: Check for K9 files | ||
| id: detect | ||
|
|
@@ -116,7 +116,7 @@ jobs: | |
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/[email protected] | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
|
|
||
| - name: Scan for invisible characters | ||
| id: lint | ||
|
|
@@ -209,7 +209,7 @@ jobs: | |
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/[email protected] | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
|
|
||
| - name: Check for Groove manifest | ||
| id: groove | ||
|
|
@@ -268,7 +268,7 @@ jobs: | |
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/[email protected] | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
|
|
||
| - name: Check and validate eclexiaiser manifest | ||
| id: eclex | ||
|
|
@@ -334,7 +334,7 @@ jobs: | |
|
|
||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/[email protected] | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
|
|
||
| - name: Generate dogfooding scorecard | ||
| run: | | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,7 +25,7 @@ jobs: | |
| timeout-minutes: 15 | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/[email protected] | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| - name: Root shape allowlist | ||
| run: bash scripts/check-root-shape.sh . | ||
| - name: AsciiDoc by default (no .md under docs/) | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,7 +23,7 @@ jobs: | |
| permissions: | ||
| contents: read | ||
| steps: | ||
| - uses: actions/[email protected] | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| - name: Enforce Guix primary / Guix fallback | ||
| run: | | ||
| # Check for package manager files | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -17,7 +17,7 @@ jobs: | |
| timeout-minutes: 15 | ||
| steps: | ||
| - name: Trigger Propagation | ||
| uses: peter-evans/[email protected] | ||
| uses: peter-evans/repository-dispatch@28959ce8df70de7be546dd1250a005dd32156697 # v4.0.1 | ||
| with: | ||
| token: ${{ secrets.FARM_DISPATCH_TOKEN }} | ||
| repository: hyperpolymath/.git-private-farm | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -20,7 +20,7 @@ jobs: | |
| permissions: | ||
| contents: read | ||
| steps: | ||
| - uses: actions/[email protected] | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| persist-credentials: false | ||
| - name: Check SECURITY.md exists and has substance | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,9 +22,9 @@ jobs: | |
| image: ghcr.io/stefan-hoeck/idris2-pack@sha256:f0758996a931fb35d9ecb1de273c4d59dabe2a09b433afc7e357f65a08b7e1ff | ||
| steps: | ||
| - name: Checkout Site | ||
| uses: actions/[email protected] | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| - name: Checkout Ddraig SSG | ||
| uses: actions/[email protected] | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| repository: hyperpolymath/ddraig-ssg | ||
| path: .ddraig-ssg | ||
|
|
@@ -41,7 +41,7 @@ jobs: | |
| fi | ||
| ./.ddraig-ssg/build/exec/ddraig build src _site https://hyperpolymath.github.io/${GITHUB_REPOSITORY#*/} | ||
| - name: Upload artifact | ||
| uses: actions/[email protected] | ||
| uses: actions/upload-pages-artifact@fc324d3547104276b827a68afc52ff2a11cc49c9 # v5.0.0 | ||
| with: | ||
| path: '_site' | ||
| deploy: | ||
|
|
@@ -54,4 +54,4 @@ jobs: | |
| steps: | ||
| - name: Deploy to GitHub Pages | ||
| id: deployment | ||
| uses: actions/[email protected] | ||
| uses: actions/deploy-pages@368f82528645a54fb793d4d04e342629a3f51346 # v5.0.1 | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,7 +24,7 @@ jobs: | |
| permissions: | ||
| contents: read | ||
| steps: | ||
| - uses: actions/[email protected] | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| - name: Check file permissions | ||
| run: | | ||
| find . -type f -perm /111 -name "*.sh" | head -10 || true | ||
|
|
@@ -36,15 +36,15 @@ jobs: | |
| run: | | ||
| find . -type f -size +1M -not -path "./.git/*" | head -10 || echo "No large files" | ||
| - name: EditorConfig check | ||
| uses: editorconfig-checker/[email protected] | ||
| uses: editorconfig-checker/action-editorconfig-checker@51f63319f592f97930c73d9c46184d20bd206393 # v3.0.0 | ||
| continue-on-error: true | ||
| docs: | ||
| runs-on: ubuntu-latest | ||
| timeout-minutes: 15 | ||
| permissions: | ||
| contents: read | ||
| steps: | ||
| - uses: actions/[email protected] | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| - name: Check documentation | ||
| run: | | ||
| MISSING="" | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,7 +22,7 @@ jobs: | |
| permissions: | ||
| contents: read | ||
| steps: | ||
| - uses: actions/[email protected] | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| - name: Detect project type and build | ||
| id: build | ||
| run: | | ||
|
|
@@ -84,7 +84,7 @@ jobs: | |
| changelog: ${{ steps.cliff.outputs.content }} | ||
| version: ${{ steps.version.outputs.version }} | ||
| steps: | ||
| - uses: actions/[email protected] | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Extract version from tag | ||
|
|
@@ -109,7 +109,7 @@ jobs: | |
| run: | | ||
| git cliff --output CHANGELOG.md | ||
| - name: Upload updated CHANGELOG.md | ||
| uses: actions/[email protected] | ||
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | ||
| with: | ||
| name: changelog | ||
| path: CHANGELOG.md | ||
|
|
@@ -122,15 +122,15 @@ jobs: | |
| permissions: | ||
| contents: write | ||
| steps: | ||
| - uses: actions/[email protected] | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| # TODO: Download build artifacts if uploading to the release | ||
| # - uses: actions/download-artifact@v4 | ||
| # | ||
| # with: | ||
| # name: release-artifacts | ||
| # path: artifacts/ | ||
| - name: Create GitHub Release | ||
| uses: softprops/[email protected] | ||
| uses: softprops/action-gh-release@efb35369e0ad2afab669f228072c1b0d510eae64 # v3.0.3 | ||
| with: | ||
| body: ${{ needs.changelog.outputs.changelog }} | ||
| draft: false | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -34,7 +34,7 @@ jobs: | |
| timeout-minutes: 15 | ||
| steps: | ||
| - name: Checkout | ||
| uses: actions/[email protected] | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| fetch-depth: 1 | ||
| - name: Rhodibot — detect drift (no mutations) | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -38,7 +38,7 @@ jobs: | |
| permissions: | ||
| contents: read | ||
| steps: | ||
| - uses: actions/[email protected] | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
|
|
||
| - name: Report runtime tier and reject mixed toolchains | ||
| run: | | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,7 +23,7 @@ jobs: | |
| permissions: | ||
| contents: read | ||
| steps: | ||
| - uses: actions/[email protected] | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| - name: Security checks | ||
| run: | | ||
| FAILED=false | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -22,7 +22,7 @@ jobs: | |
| timeout-minutes: 15 | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/[email protected] | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Install panic-attack (if available) | ||
|
|
@@ -119,7 +119,7 @@ jobs: | |
| echo "" >> "$GITHUB_STEP_SUMMARY" | ||
| echo "Skipped: panic-attack not available in this environment." >> "$GITHUB_STEP_SUMMARY" | ||
| - name: Upload panic-attack findings | ||
| uses: actions/[email protected] | ||
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | ||
| with: | ||
| name: panic-attack-findings | ||
| path: panic-attack-findings.json | ||
|
|
@@ -138,13 +138,13 @@ jobs: | |
| timeout-minutes: 15 | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/[email protected] | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Setup Elixir for Hypatia scanner | ||
| id: beam | ||
| continue-on-error: true | ||
| uses: erlef/[email protected] | ||
| uses: erlef/setup-beam@54075bcc5e249e4758d363f27d099f55d843f124 # v1.24.1 | ||
| with: | ||
| elixir-version: '1.19.4' | ||
| otp-version: '28.3' | ||
|
|
@@ -245,7 +245,7 @@ jobs: | |
| echo "" >> "$GITHUB_STEP_SUMMARY" | ||
| echo "Skipped: Hypatia scanner not available in this environment." >> "$GITHUB_STEP_SUMMARY" | ||
| - name: Upload hypatia findings | ||
| uses: actions/[email protected] | ||
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | ||
| with: | ||
| name: hypatia-findings | ||
| path: hypatia-findings.json | ||
|
|
@@ -264,7 +264,7 @@ jobs: | |
| timeout-minutes: 15 | ||
| steps: | ||
| - name: Checkout repository | ||
| uses: actions/[email protected] | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| with: | ||
| fetch-depth: 0 | ||
| - name: Install panic-attack (if available) | ||
|
|
@@ -326,7 +326,7 @@ jobs: | |
| echo "" >> "$GITHUB_STEP_SUMMARY" | ||
| echo "Skipped: panic-attack not available in this environment." >> "$GITHUB_STEP_SUMMARY" | ||
| - name: Upload bridge report | ||
| uses: actions/[email protected] | ||
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | ||
| with: | ||
| name: bridge-report | ||
| path: bridge-report.json | ||
|
|
@@ -348,17 +348,17 @@ jobs: | |
| if: always() | ||
| steps: | ||
| - name: Download panic-attack findings | ||
| uses: actions/[email protected] | ||
| uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 | ||
| with: | ||
| name: panic-attack-findings | ||
| path: findings/ | ||
| - name: Download hypatia findings | ||
| uses: actions/[email protected] | ||
| uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 | ||
| with: | ||
| name: hypatia-findings | ||
| path: findings/ | ||
| - name: Download bridge report | ||
| uses: actions/[email protected] | ||
| uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1 | ||
| with: | ||
| name: bridge-report | ||
| path: findings/ | ||
|
|
@@ -418,7 +418,7 @@ jobs: | |
| echo "medium=$MEDIUM" >> "$GITHUB_OUTPUT" | ||
| echo "low=$LOW" >> "$GITHUB_OUTPUT" | ||
| - name: Upload unified findings (fleet scanner picks these up) | ||
| uses: actions/[email protected] | ||
| uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1 | ||
| with: | ||
| name: unified-findings | ||
| path: findings/unified-findings.json | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -25,7 +25,7 @@ jobs: | |
| permissions: | ||
| contents: read | ||
| steps: | ||
| - uses: actions/[email protected] | ||
| - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
| - name: RFC 9116 security.txt validation | ||
| run: | | ||
| SECTXT="" | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -27,7 +27,7 @@ jobs: | |
|
|
||
| steps: | ||
| - name: Checkout | ||
| uses: actions/[email protected] | ||
| uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 | ||
|
|
||
| - name: Check SPDX Headers | ||
| run: | | ||
|
|
||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win
Restore the original tag comment.
The trailing comment does not identify the original
v0.3.0reference. This does not meet the PR requirement for readable pin provenance. Keep theNOSONARjustification, but addv0.3.0to the comment.Proposed fix
📝 Committable suggestion
🤖 Prompt for AI Agents