Skip to content

chore(ci): bump governance-reusable pin to standards main - #87

Merged
hyperpolymath merged 1 commit into
mainfrom
chore/bump-governance-pin-to-standards-main
Sep 8, 2026
Merged

hyperpolymath merged 1 commit into
mainfrom
chore/bump-governance-pin-to-standards-main

Conversation

@hyperpolymath

Copy link
Copy Markdown
Owner

Pinned revision 7fdc2705 of governance-reusable.yml carries two bugs that make Governance red on every consumer:

  1. Workflow security linter runs bash scripts/update-actions-lock.sh --verify-local in the caller's checkout, where the script does not exist — exit 127.
  2. Allowlist Preflight runs check-actions-policy.sh with an empty GH_TOKEN — gh refuses, exit 3.

Both are cured on standards main (fad242d35291de1898242d6737ba02b74a59a2f2): the verifier is copied into \$RUNNER_TEMP, and the policy step is skipped when no credential is supplied.

Witness: verified green on hyperpolymath/blocky-writer#55 at this exact SHA — governance run completed/success, 15/15 jobs, including the two jobs that were red on that repo's default branch.

Judge this PR by the set difference against your own default branch (which governance jobs are newly red), not by overall check colour — unrelated build failures may pre-date it.

Co-Authored-By: Claude Opus 5 (1M context) noreply@anthropic.com

The pinned revision carries bugs that make Governance red on every
consumer: the Workflow security linter runs update-actions-lock.sh from
the CALLER's checkout where it does not exist (exit 127), and Allowlist
Preflight runs check-actions-policy.sh with an empty GH_TOKEN (exit 3).

Both are fixed on standards main. Witnessed green on hyperpolymath/blocky-writer
at this exact SHA: governance run completed/success, 15/15 jobs.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Sep 7, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Team

Run ID: 8d5126b1-238f-46b9-bb73-dc6e252b6212

📥 Commits

Reviewing files that changed from the base of the PR and between 35f8743 and bf2cd3a.

📒 Files selected for processing (1)
  • .github/workflows/governance.yml

Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review.

📜 Recent review details
⏰ Context from checks skipped due to timeout. (11)
  • GitHub Check: Dogfooding compliance summary
  • GitHub Check: governance / Debt ratchet
  • GitHub Check: governance / Code quality + docs
  • GitHub Check: governance / Exemption ratchet
  • GitHub Check: governance / Live Actions policy (credentialed advisory)
  • GitHub Check: governance / Well-Known (RFC 9116 + RSR)
  • GitHub Check: governance / Actions lockfile verify
  • GitHub Check: governance / Trusted-base reduction policy
  • GitHub Check: analyze (actions, none)
  • GitHub Check: Hypatia Neurosymbolic Analysis
  • GitHub Check: Push to GitLab Mirror
⚠️ CI failures not shown inline (8)

GitHub Actions: CI / 2_Test (Elixir 1.15.7 _ OTP 26.2).txt: chore(ci): bump governance-reusable pin to standards main

Conclusion: failure

View job details

##[group]Run mix local.hex --force
 �[36;1mmix local.hex --force�[0m
 �[36;1mmix local.rebar --force�[0m
 �[36;1mmix deps.get�[0m
 shell: /usr/bin/bash -e {0}
 env:
   MIX_ENV: test
   ELIXIR_VERSION: 1.15.7
   OTP_VERSION: 26.2
   INSTALL_DIR_FOR_OTP: /home/runner/work/_temp/.setup-beam/otp
   INSTALL_DIR_FOR_ELIXIR: /home/runner/work/_temp/.setup-beam/elixir
 ##[endgroup]
 * creating /home/runner/.mix/archives/hex-2.5.1
 * creating /home/runner/.mix/elixir/1-15/rebar3
 ** (Mix) Could not find a Mix.Project, please ensure you are running Mix in a directory with a mix.exs file
 ##[error]Process completed with exit code 1.

GitHub Actions: CI / Test (Elixir 1.15.7 _ OTP 26.2): chore(ci): bump governance-reusable pin to standards main

Conclusion: failure

View job details

##[group]Run mix local.hex --force
 �[36;1mmix local.hex --force�[0m
 �[36;1mmix local.rebar --force�[0m
 �[36;1mmix deps.get�[0m
 shell: /usr/bin/bash -e {0}
 env:
   MIX_ENV: test
   ELIXIR_VERSION: 1.15.7
   OTP_VERSION: 26.2
   INSTALL_DIR_FOR_OTP: /home/runner/work/_temp/.setup-beam/otp
   INSTALL_DIR_FOR_ELIXIR: /home/runner/work/_temp/.setup-beam/elixir
 ##[endgroup]
 * creating /home/runner/.mix/archives/hex-2.5.1
 * creating /home/runner/.mix/elixir/1-15/rebar3
 ** (Mix) Could not find a Mix.Project, please ensure you are running Mix in a directory with a mix.exs file
 ##[error]Process completed with exit code 1.

GitHub Actions: CI / 3_Test (Elixir 1.16.0 _ OTP 26.2).txt: chore(ci): bump governance-reusable pin to standards main

Conclusion: failure

View job details

##[group]Run mix local.hex --force
 �[36;1mmix local.hex --force�[0m
 �[36;1mmix local.rebar --force�[0m
 �[36;1mmix deps.get�[0m
 shell: /usr/bin/bash -e {0}
 env:
   MIX_ENV: test
   ELIXIR_VERSION: 1.15.7
   OTP_VERSION: 26.2
   INSTALL_DIR_FOR_OTP: /home/runner/work/_temp/.setup-beam/otp
   INSTALL_DIR_FOR_ELIXIR: /home/runner/work/_temp/.setup-beam/elixir
 ##[endgroup]
 * creating /home/runner/.mix/archives/hex-2.5.1
 * creating /home/runner/.mix/elixir/1-16/rebar3
 ** (Mix) Could not find a Mix.Project, please ensure you are running Mix in a directory with a mix.exs file
 ##[error]Process completed with exit code 1.

GitHub Actions: CI / Test (Elixir 1.16.0 _ OTP 26.2): chore(ci): bump governance-reusable pin to standards main

Conclusion: failure

View job details

##[group]Run mix local.hex --force
 �[36;1mmix local.hex --force�[0m
 �[36;1mmix local.rebar --force�[0m
 �[36;1mmix deps.get�[0m
 shell: /usr/bin/bash -e {0}
 env:
   MIX_ENV: test
   ELIXIR_VERSION: 1.15.7
   OTP_VERSION: 26.2
   INSTALL_DIR_FOR_OTP: /home/runner/work/_temp/.setup-beam/otp
   INSTALL_DIR_FOR_ELIXIR: /home/runner/work/_temp/.setup-beam/elixir
 ##[endgroup]
 * creating /home/runner/.mix/archives/hex-2.5.1
 * creating /home/runner/.mix/elixir/1-16/rebar3
 ** (Mix) Could not find a Mix.Project, please ensure you are running Mix in a directory with a mix.exs file
 ##[error]Process completed with exit code 1.

GitHub Actions: CI / 4_Test (Elixir 1.15.0 _ OTP 25.3).txt: chore(ci): bump governance-reusable pin to standards main

Conclusion: failure

View job details

##[group]Run mix local.hex --force
 �[36;1mmix local.hex --force�[0m
 �[36;1mmix local.rebar --force�[0m
 �[36;1mmix deps.get�[0m
 shell: /usr/bin/bash -e {0}
 env:
   MIX_ENV: test
   ELIXIR_VERSION: 1.15.7
   OTP_VERSION: 26.2
   INSTALL_DIR_FOR_OTP: /home/runner/work/_temp/.setup-beam/otp
   INSTALL_DIR_FOR_ELIXIR: /home/runner/work/_temp/.setup-beam/elixir
 ##[endgroup]
 * creating /home/runner/.mix/archives/hex-2.5.1
 * creating /home/runner/.mix/elixir/1-15/rebar3
 ** (Mix) Could not find a Mix.Project, please ensure you are running Mix in a directory with a mix.exs file
 ##[error]Process completed with exit code 1.

GitHub Actions: CI / Test (Elixir 1.15.0 _ OTP 25.3): chore(ci): bump governance-reusable pin to standards main

Conclusion: failure

View job details

##[group]Run mix local.hex --force
 �[36;1mmix local.hex --force�[0m
 �[36;1mmix local.rebar --force�[0m
 �[36;1mmix deps.get�[0m
 shell: /usr/bin/bash -e {0}
 env:
   MIX_ENV: test
   ELIXIR_VERSION: 1.15.7
   OTP_VERSION: 26.2
   INSTALL_DIR_FOR_OTP: /home/runner/work/_temp/.setup-beam/otp
   INSTALL_DIR_FOR_ELIXIR: /home/runner/work/_temp/.setup-beam/elixir
 ##[endgroup]
 * creating /home/runner/.mix/archives/hex-2.5.1
 * creating /home/runner/.mix/elixir/1-15/rebar3
 ** (Mix) Could not find a Mix.Project, please ensure you are running Mix in a directory with a mix.exs file
 ##[error]Process completed with exit code 1.

GitHub Actions: CI / 5_Lint & Format.txt: chore(ci): bump governance-reusable pin to standards main

Conclusion: failure

View job details

##[group]Run mix local.hex --force
 �[36;1mmix local.hex --force�[0m
 �[36;1mmix local.rebar --force�[0m
 �[36;1mmix deps.get�[0m
 shell: /usr/bin/bash -e {0}
 env:
   MIX_ENV: test
   ELIXIR_VERSION: 1.15.7
   OTP_VERSION: 26.2
   INSTALL_DIR_FOR_OTP: /home/runner/work/_temp/.setup-beam/otp
   INSTALL_DIR_FOR_ELIXIR: /home/runner/work/_temp/.setup-beam/elixir
 ##[endgroup]
 * creating /home/runner/.mix/archives/hex-2.5.1
 * creating /home/runner/.mix/elixir/1-15/rebar3
 ** (Mix) Could not find a Mix.Project, please ensure you are running Mix in a directory with a mix.exs file
 ##[error]Process completed with exit code 1.

GitHub Actions: CI / Lint & Format: chore(ci): bump governance-reusable pin to standards main

Conclusion: failure

View job details

##[group]Run mix local.hex --force
 �[36;1mmix local.hex --force�[0m
 �[36;1mmix local.rebar --force�[0m
 �[36;1mmix deps.get�[0m
 shell: /usr/bin/bash -e {0}
 env:
   MIX_ENV: test
   ELIXIR_VERSION: 1.15.7
   OTP_VERSION: 26.2
   INSTALL_DIR_FOR_OTP: /home/runner/work/_temp/.setup-beam/otp
   INSTALL_DIR_FOR_ELIXIR: /home/runner/work/_temp/.setup-beam/elixir
 ##[endgroup]
 * creating /home/runner/.mix/archives/hex-2.5.1
 * creating /home/runner/.mix/elixir/1-15/rebar3
 ** (Mix) Could not find a Mix.Project, please ensure you are running Mix in a directory with a mix.exs file
 ##[error]Process completed with exit code 1.
🔇 Additional comments (1)
.github/workflows/governance.yml (1)

35-35: LGTM!


📝 Summary

Summary by CodeRabbit

  • Chores
    • Updated the governance workflow to use the latest shared workflow revision.
    • No changes were made to workflow triggers, permissions, or concurrency settings.

Walkthrough

The governance job now uses a newer pinned revision of the shared reusable workflow. Triggers, permissions, concurrency, and other workflow logic remain unchanged.

Changes

Governance workflow

Layer / File(s) Summary
Update reusable workflow pin
.github/workflows/governance.yml
The governance job now references commit fad242d35291de1898242d6737ba02b74a59a2f2 of the shared reusable workflow.

Estimated code review effort: 1 (Trivial) | ~2 minutes

Merge Risk: ⚪ Minimal · up to bf2cd

The governance workflow now uses the updated pinned shared workflow revision, with no other workflow behavior changed. No current merge-blocking risk remains.

Poem

A rabbit checks the workflow pin
A newer commit hops in
The governance path stays clear
No triggers change, no settings veer
One small update brings it near

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely describes the main change: updating the pinned governance reusable workflow revision.
Description check ✅ Passed The description directly explains the pin update, the two fixed governance failures, and the verification result.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0…
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches 💡 1
🛠️ Fix failing CI checks 💡
  • Create stacked PR
  • Commit on current branch

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@sonarqubecloud

sonarqubecloud Bot commented Sep 7, 2026

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Sep 7, 2026

Copy link
Copy Markdown

🔍 Hypatia Security Scan

Findings: 100 issues detected

Severity Count
🔴 Critical 6
🟠 High 38
🟡 Medium 56

⚠️ Action Required: Critical security issues found!

View findings
[
  {
    "reason": "Issue in boj-build.yml",
    "type": "missing_timeout_minutes",
    "file": "boj-build.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in casket-pages.yml",
    "type": "missing_timeout_minutes",
    "file": "casket-pages.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in casket-pages.yml",
    "type": "missing_timeout_minutes",
    "file": "casket-pages.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in ci.yml",
    "type": "missing_timeout_minutes",
    "file": "ci.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in ci.yml",
    "type": "missing_timeout_minutes",
    "file": "ci.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in ci.yml",
    "type": "missing_timeout_minutes",
    "file": "ci.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in ci.yml",
    "type": "missing_timeout_minutes",
    "file": "ci.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in codeql.yml",
    "type": "missing_timeout_minutes",
    "file": "codeql.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "missing_timeout_minutes",
    "file": "dogfood-gate.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  },
  {
    "reason": "Issue in dogfood-gate.yml",
    "type": "missing_timeout_minutes",
    "file": "dogfood-gate.yml",
    "action": "flag",
    "rule_module": "workflow_audit",
    "severity": "medium"
  }
]

Powered by Hypatia Neurosymbolic CI/CD Intelligence

@hyperpolymath
hyperpolymath merged commit c501e21 into main Sep 8, 2026
30 of 38 checks passed
@hyperpolymath
hyperpolymath deleted the chore/bump-governance-pin-to-standards-main branch September 8, 2026 06:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant