-
-
Notifications
You must be signed in to change notification settings - Fork 0
fix(ci): bump standards pin off unreachable SHA 7fdc2705 (canary) #79
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
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 |
|---|---|---|
|
|
@@ -39,5 +39,5 @@ permissions: | |
| pull-requests: write | ||
| jobs: | ||
| scan: | ||
| uses: hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml@7fdc2705df74b4e352d2a1cde3e87a5923fdf329 | ||
| uses: hyperpolymath/standards/.github/workflows/hypatia-scan-reusable.yml@a3308ea8d0cc513727c8ad149b1132317a886c98 | ||
| secrets: inherit | ||
|
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. 🔒 Security & Privacy | 🟠 Major | ⚡ Quick win 🔎 Supported by static analysis🏁 Script executed: #!/usr/bin/env bash
set -euo pipefail
sha='ba9506eb36a78cd081ea10ffcc543e0f1abd840b'
path='.github/workflows/hypatia-scan-reusable.yml'
gh api "repos/hyperpolymath/standards/contents/${path}?ref=${sha}" \
--jq '.content' |
base64 --decode |
rg -n 'workflow_call|secrets:|secrets\.'Repository: hyperpolymath/empty-linter Length of output: 346 🏁 Script executed: #!/usr/bin/env bash
set -euo pipefail
sha='ba9506eb36a78cd081ea10ffcc543e0f1abd840b'
path='.github/workflows/hypatia-scan-reusable.yml'
gh api "repos/hyperpolymath/standards/contents/${path}?ref=${sha}" \
--jq '.content' |
base64 --decode |
sed -n '1,105p'
printf '\nCaller workflow:\n'
cat -n .github/workflows/hypatia-scan.yml | sed -n '35,48p'Repository: hyperpolymath/empty-linter Length of output: 5284 🌐 Web query:
💡 Result: In GitHub Actions, reusable workflows do not automatically receive secrets from the calling workflow. You must explicitly pass them or use the inheritance mechanism [1][2][3]. Regarding the inheritance and use of secrets: 1. secrets: inherit: The Citations:
Replace The reusable workflow reads only the optional 🤖 Prompt for AI AgentsSource: Linters/SAST tools
Owner
Author
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. please addresa this 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: #!/usr/bin/env bash
set -euo pipefail
sha='ba9506eb36a78cd081ea10ffcc543e0f1abd840b'
path='.github/workflows/hypatia-scan-reusable.yml'
printf '%s\n' 'Pinned reusable workflow secret contract:'
gh api "repos/hyperpolymath/standards/contents/${path}?ref=${sha}" \
--jq '.content' |
base64 --decode |
nl -ba |
sed -n '1,180p'
printf '%s\n' 'Repository references to candidate Hypatia secrets:'
rg -n -i -C 3 'HYPATIA_(SCAN|DISPATCH)_PAT|secrets:\s*inherit' .github README.md 2>/dev/null || trueLength of output: 892 🏁 Script executed: #!/usr/bin/env bash
set -euo pipefail
sha='ba9506eb36a78cd081ea10ffcc543e0f1abd840b'
path='.github/workflows/hypatia-scan-reusable.yml'
printf '%s\n' 'Pinned reusable workflow secret contract:'
gh api "repos/hyperpolymath/standards/contents/${path}?ref=${sha}" \
--jq '.content' |
base64 --decode |
awk '{ printf "%6d %s\n", NR, $0 }' |
sed -n '1,220p'
printf '%s\n' 'Repository references to candidate Hypatia secrets and inherited secrets:'
rg -n -i -C 3 'HYPATIA_(SCAN|DISPATCH)_PAT|secrets:\s*inherit' .github README.md 2>/dev/null || trueLength of output: 15076
The pinned reusable workflow reads The complete fix requires two coordinated changes:
The reusable workflow must be updated first. A caller cannot explicitly pass a secret that the reusable workflow does not declare. You are interacting with an AI system.
Owner
Author
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. no, I mean can you implement the thing here, I was not disagreeing, it is important and I agree with your assessment 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: #!/usr/bin/env bash
set -euo pipefail
printf '%s\n' 'Caller workflow:'
nl -ba .github/workflows/hypatia-scan.yml | sed -n '35,50p'
sha="$(
awk '/uses: hyperpolymath\/standards\/\.github\/workflows\/hypatia-scan-reusable\.yml@/ {
sub(/^.*`@/`, "", $0)
print
exit
}' .github/workflows/hypatia-scan.yml
)"
test -n "$sha"
printf '\n%s\n' "Called workflow at ${sha}:"
gh api "repos/hyperpolymath/standards/contents/.github/workflows/hypatia-scan-reusable.yml?ref=${sha}" \
--jq '.content' |
base64 --decode |
nl -ba |
sed -n '1,125p'Length of output: 917 🏁 Script executed: #!/usr/bin/env bash
set -euo pipefail
printf '%s\n' 'Caller workflow:'
awk 'NR >= 35 && NR <= 50 { printf "%6d %s\n", NR, $0 }' \
.github/workflows/hypatia-scan.yml
sha="$(
awk '/uses: hyperpolymath\/standards\/\.github\/workflows\/hypatia-scan-reusable\.yml@/ {
sub(/^.*`@/`, "", $0)
print
exit
}' .github/workflows/hypatia-scan.yml
)"
test -n "$sha"
printf '\n%s\n' "Called workflow at ${sha}:"
gh api "repos/hyperpolymath/standards/contents/.github/workflows/hypatia-scan-reusable.yml?ref=${sha}" \
--jq '.content' |
base64 --decode |
awk '{ printf "%6d %s\n", NR, $0 }' |
sed -n '1,125p'Length of output: 8098 🏁 Script executed: #!/usr/bin/env bash
set -euo pipefail
printf '%s\n' 'standards main revision:'
gh api "repos/hyperpolymath/standards/commits/main" --jq '.sha'
printf '\n%s\n' 'Reusable workflow on standards main:'
gh api "repos/hyperpolymath/standards/contents/.github/workflows/hypatia-scan-reusable.yml?ref=main" \
--jq '.content' |
base64 --decode |
awk '{ printf "%6d %s\n", NR, $0 }' |
sed -n '1,100p'
printf '\n%s\n' 'Caller references and Hypatia secret configuration:'
rg -n -C 2 \
'hypatia-scan-reusable\.yml@|HYPATIA_SCAN_PAT|HYPATIA_DISPATCH_PAT|secrets:[[:space:]]*inherit' \
.github README.md 2>/dev/null || trueLength of output: 7521
🐇 ✓ Failed to start Coding Agent task. Please try again. You are interacting with an AI system. |
||
Uh oh!
There was an error while loading. Please reload this page.
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.
🎯 Functional Correctness | 🟠 Major | 🏗️ Heavy lift
🔎 Supported by static analysis
🏁 Script executed:
Repository: hyperpolymath/empty-linter
Length of output: 10001
🏁 Script executed:
Repository: hyperpolymath/empty-linter
Length of output: 375
🏁 Script executed:
Repository: hyperpolymath/empty-linter
Length of output: 11072
Add a recognised packaging artefact before enabling this workflow revision.
The reusable workflow runs
package-policy, which usescheck-package-policy.sh. This repository has noguix.scm,manifest.scm,.guix-channel, or functionalContainerfile/Dockerfile. From 21 August 2026, the checker exits withPackage policy violation: no packaging found. Addguix.scmor a functional container definition in the same stack.🤖 Prompt for AI Agents
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.
and also implement this as I agree with iot too
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.
🧩 Analysis chain
🏁 Script executed:
Length of output: 33290
🏁 Script executed:
Length of output: 30846
🏁 Script executed:
Length of output: 880
@hyperpolymath, validation failed becauseguix.scmis still absent from the PR branch.Add the planned root
guix.scm, then rerun the package-policy validation. The governance workflow reference can remain unchanged.You are interacting with an AI system.