Repository navigation
fix(ci): pin GitHub Actions to commit SHAs - #229
thatguywob wants to merge 1 commit into
Conversation
Resolve existing action tags and reusable workflow branches to immutable commits, retaining the original references as comments. Hive-Run: tuna-os#195 Hive-Plan: pin-github-actions Hive-Spec: issue-195#pin-all-actions Signed-off-by: thatguywob <thatguywob@users.noreply.github.com>
7d89b71
|
|
Sentinel reviewed (hanthor): the diff is benign (it pins third-party actions to verified release SHAs). It duplicates #232, which I've rebased and am landing. Two changes are not taken:
Closing as a duplicate. Thank you! |
|
Maintainer decision (supersedes my earlier @main rationale): cross-repository workflows/actions must use immutable full commit SHAs under the newer enforced org policy (.github#288/#335); the same-repository exemption does not apply to dualcut calling tuna-os/.github. The WORKFLOWS.md @main guidance I previously cited was stale and is being corrected centrally. Sorry for the conflicting guidance. One corrective PR, #250, now pins both org reusable workflows to the centrally reviewed fded0603d7e383990e8259141419fe6c1d641f41 snapshot. Existing permissions, inputs and token mappings are unchanged. Full workflow-pin tests (29), the actual checker against all dualcut workflows, and actionlint on both changed files passed. Merge still requires green CI. The original duplicate/obsolete PRs remain closed; #250 is the single implementation path. |
Pin all 12 external GitHub Actions and reusable workflow references to full commit SHAs. Each SHA was resolved through the GitHub commits API from the existing tag or branch; comments preserve those references for maintenance.
Closes #195
Validation:
uses:entry: all external references use 40-character commit SHAs.git diff --checkand both schema-copy comparisons passed.cargois not installed in this environment. No application code changed.— hive: backend=codex model=gpt-6.1-sol
🐝 Hive Agent:
contributor| SHA:7d89b71