-
-
Notifications
You must be signed in to change notification settings - Fork 0
Detect retired policies in folded YAML run blocks #82
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
hyperpolymath
merged 10 commits into
main
from
coderabbit/folded-yaml-command-scanning/143a1152
Sep 17, 2026
Merged
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
521fb38
fix(triage): identify contradictory descriptile and empty workflow gates
hyperpolymath c9ccbaa
fix(build): remove duplicate CLI import and satisfy workspace formatting
hyperpolymath 188ba43
fix(fight): accept GitHub commit statuses and avoid quoted policy fal…
hyperpolymath 2ad1902
fix(fight): decode YAML run scalars and commented job headers
hyperpolymath 9f08d79
fix(ci): retain Hypatia warning counts and current source contracts
hyperpolymath dca455e
fix: resolve retired path scalar matching and add harden-runner
hyperpolymath d99d5a1
security: pin all github actions to full commit SHAs
hyperpolymath 52a0943
docs(fight): document workflow gate classifiers
coderabbitai[bot] a9a7d7f
fix(fight): detect retired policies in folded run scalars
coderabbitai[bot] 0bfd2a0
Merge branch main into coderabbit/folded-yaml-command-scanning/143a11…
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 |
|---|---|---|
| @@ -0,0 +1,141 @@ | ||
| # This file is machine-generated by `gh actions-lock`. | ||
| # Do not edit by hand; run `gh actions-lock` to update. | ||
| # Docs: https://gh.io/actions-lockfile | ||
| version: 'v0.0.2' | ||
| workflows: | ||
| '.github/workflows/codeql.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| - 'github/codeql-action@v4.37.9' | ||
| '.github/workflows/container-build.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| '.github/workflows/dependabot-automerge.yml': | ||
| - 'dependabot/fetch-metadata@v3.1.0' | ||
| - 'step-security/harden-runner@v2.9.1' | ||
| '.github/workflows/dogfood-gate.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| '.github/workflows/e2e.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| '.github/workflows/estate-rules.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| '.github/workflows/guix-policy.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| '.github/workflows/openssf-compliance.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| '.github/workflows/pages.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| - 'actions/deploy-pages@v5.0.1' | ||
| - 'actions/upload-pages-artifact@v5.0.0' | ||
| '.github/workflows/push-email-notify.yml': | ||
| - 'hyperpolymath/smtp-notify-action@v0.2.0' | ||
| '.github/workflows/quality.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| - 'editorconfig-checker/action-editorconfig-checker@v3.0.0' | ||
| '.github/workflows/release.yml': | ||
| - 'actions/attest-build-provenance@v4.2.2' | ||
| - 'actions/checkout@v7.0.1' | ||
| - 'actions/upload-artifact@v7.0.1' | ||
| - 'softprops/action-gh-release@v3.0.3' | ||
| '.github/workflows/rhodibot.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| '.github/workflows/runtime-policy.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| '.github/workflows/security-policy.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| '.github/workflows/sonarqube.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| - 'sonarsource/sonarqube-scan-action@v8.2.1' | ||
| - 'step-security/harden-runner@v2.9.1' | ||
| '.github/workflows/static-analysis-gate.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| - 'actions/download-artifact@v8.0.1' | ||
| - 'actions/upload-artifact@v7.0.1' | ||
| - 'erlef/setup-beam@v1.24.1' | ||
| '.github/workflows/wellknown-enforcement.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| '.github/workflows/workflow-linter.yml': | ||
| - 'actions/checkout@v7.0.1' | ||
| dependencies: | ||
| 'actions/attest-build-provenance@v4.2.2': | ||
| ref: 'v4.2.2' | ||
| commit: 'sha1-4d101475d8b20a2381f78447822ac1eab6504dd8' | ||
| owner_id: 44036562 | ||
| repo_id: 760702757 | ||
| uses: | ||
| - 'actions/attest@508db95dd578ae2727ebd6217d5ba78e4fbda05d' | ||
| 'actions/attest@508db95dd578ae2727ebd6217d5ba78e4fbda05d': | ||
| ref: 'v4.2.1' | ||
| commit: 'sha1-508db95dd578ae2727ebd6217d5ba78e4fbda05d' | ||
| owner_id: 44036562 | ||
| repo_id: 760701061 | ||
| 'actions/checkout@v7.0.1': | ||
| ref: 'v7.0.1' | ||
| commit: 'sha1-3d3c42e5aac5ba805825da76410c181273ba90b1' | ||
| owner_id: 44036562 | ||
| repo_id: 197814629 | ||
| 'actions/deploy-pages@v5.0.1': | ||
| ref: 'v5.0.1' | ||
| commit: 'sha1-368f82528645a54fb793d4d04e342629a3f51346' | ||
| owner_id: 44036562 | ||
| repo_id: 438112499 | ||
| 'actions/download-artifact@v8.0.1': | ||
| ref: 'v8.0.1' | ||
| commit: 'sha1-3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c' | ||
| owner_id: 44036562 | ||
| repo_id: 192626254 | ||
| 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f': | ||
| ref: 'v7.0.0' | ||
| commit: 'sha1-bbbca2ddaa5d8feaa63e36b76fdaad77386f024f' | ||
| owner_id: 44036562 | ||
| repo_id: 192625955 | ||
| 'actions/upload-artifact@v7.0.1': | ||
| ref: 'v7.0.1' | ||
| commit: 'sha1-043fb46d1a93c77aae656e7c1c64a875d1fc6a0a' | ||
| owner_id: 44036562 | ||
| repo_id: 192625955 | ||
| 'actions/upload-pages-artifact@v5.0.0': | ||
| ref: 'v5.0.0' | ||
| commit: 'sha1-fc324d3547104276b827a68afc52ff2a11cc49c9' | ||
| owner_id: 44036562 | ||
| repo_id: 496012378 | ||
| uses: | ||
| - 'actions/upload-artifact@bbbca2ddaa5d8feaa63e36b76fdaad77386f024f' | ||
| 'dependabot/fetch-metadata@v3.1.0': | ||
| ref: 'v3.1.0' | ||
| commit: 'sha1-25dd0e34f4fe68f24cc83900b1fe3fe149efef98' | ||
| owner_id: 27347476 | ||
| repo_id: 371068214 | ||
| 'editorconfig-checker/action-editorconfig-checker@v3.0.0': | ||
| ref: 'v3.0.0' | ||
| commit: 'sha1-51f63319f592f97930c73d9c46184d20bd206393' | ||
| owner_id: 26415196 | ||
| repo_id: 297874902 | ||
| 'erlef/setup-beam@v1.24.1': | ||
| ref: 'v1.24.1' | ||
| commit: 'sha1-54075bcc5e249e4758d363f27d099f55d843f124' | ||
| owner_id: 47606891 | ||
| repo_id: 331103973 | ||
| 'github/codeql-action@v4.37.9': | ||
| ref: 'v4.37.9' | ||
| commit: 'sha1-cdf488f595d80d6e07e03d4674febd5ab45fa938' | ||
| owner_id: 9919 | ||
| repo_id: 259445878 | ||
| 'hyperpolymath/smtp-notify-action@v0.2.0': | ||
| ref: 'v0.2.0' | ||
| commit: 'sha1-ede1191ef6ff3ac02c4f4d9efdf837ee517e11d7' | ||
| owner_id: 6759885 | ||
| repo_id: 1352485172 | ||
| 'softprops/action-gh-release@v3.0.3': | ||
| ref: 'v3.0.3' | ||
| commit: 'sha1-efb35369e0ad2afab669f228072c1b0d510eae64' | ||
| owner_id: 2242 | ||
| repo_id: 204253808 | ||
| 'sonarsource/sonarqube-scan-action@v8.2.1': | ||
| ref: 'v8.2.1' | ||
| commit: 'sha1-22918119ff8e1ca75a623e15c8296b6ea4fbe28f' | ||
| owner_id: 545988 | ||
| repo_id: 366408409 | ||
| 'step-security/harden-runner@v2.9.1': | ||
| ref: 'v2.9.1' | ||
| commit: 'sha1-5c7944e73c4c2a096b17a9cb74d65b6c2bbafbde' | ||
| owner_id: 88700172 | ||
| repo_id: 422287306 |
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 |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| # This workflow is managed by gh actions-lock. | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| name: container build | ||
| on: | ||
|
|
||
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
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
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 |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| # This workflow is managed by gh actions-lock. | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| name: Governance | ||
|
|
||
|
|
||
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 |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| # This workflow is managed by gh actions-lock. | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| name: Guix Package Policy | ||
| on: | ||
|
|
||
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
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 |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| # This workflow is managed by gh actions-lock. | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| name: Label Triage | ||
|
|
||
|
|
||
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 |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| # This workflow is managed by gh actions-lock. | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| name: Labels | ||
|
|
||
|
|
||
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
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 |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| # This workflow is managed by gh actions-lock. | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| name: Code Quality | ||
| on: | ||
|
|
||
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
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
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 |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| # This workflow is managed by gh actions-lock. | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| name: OSSF Scorecard | ||
|
|
||
|
|
||
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 |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| # This workflow is managed by gh actions-lock. | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| name: Secret Scanner | ||
| on: | ||
|
|
||
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 |
|---|---|---|
| @@ -1,3 +1,4 @@ | ||
| # This workflow is managed by gh actions-lock. | ||
| # SPDX-License-Identifier: MPL-2.0 | ||
| name: Security Policy | ||
| on: | ||
|
|
||
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
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
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.
🩺 Stability & Availability | 🟠 Major | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: hyperpolymath/cicd-squabbler
Length of output: 13671
Keep the SPDX header as the first line.
Check SPDX Headersscans.github/workflows/*.yml, including this workflow. It checks onlyhead -1and requires that line to match# SPDX-License-Identifier:. The management marker is currently on line 1, so the check fails. Move the SPDX header to line 1 and place the management marker after it.🤖 Prompt for AI Agents