Skip to content

fix(ci): consolidate governance workflows — closes #54#56

Merged
stackbilt-admin merged 2 commits intomainfrom
auto/06f59b15
Mar 17, 2026
Merged

fix(ci): consolidate governance workflows — closes #54#56
stackbilt-admin merged 2 commits intomainfrom
auto/06f59b15

Conversation

@stackbilt-admin
Copy link
Copy Markdown
Member

Summary

  • Merges charter-governance.yml, governance.yml, and governance-scorecard.yml into a single governance.yml workflow
  • PR triggers now fire 1 workflow instead of 3, each doing redundant checkout → install → charter-commands
  • Scorecard generation runs only on push-to-main and workflow_dispatch (not on PRs)
  • Expected reduction: ~66% of governance Actions minutes (from ~261 min/month to <100 min/month)

What changed

Before After
charter-governance.yml (PR) Deleted — merged into governance.yml
governance.yml (PR) Consolidated — now has governance + scorecard jobs
governance-scorecard.yml (PR + push) Deleted — scorecard job moved into governance.yml, PR trigger removed
ci.yml (PR + push) Unchanged
release.yml (tag push) Unchanged

Notes

  • The CLI template (getGithubWorkflow() in setup.ts) still generates charter-governance.yml for consumer repos — that is unaffected
  • Pre-existing verify:adf failure (cli_entry_loc: 215/200) is unrelated to this change

Test plan

  • All 306 unit tests pass (pnpm test)
  • pnpm run build succeeds
  • pnpm run typecheck succeeds
  • Verify governance workflow triggers correctly on this PR

Closes #54

🤖 Generated with Claude Code

Kurt Overmier and others added 2 commits March 17, 2026 04:22
Merges charter-governance.yml, governance.yml, and governance-scorecard.yml
into a single governance.yml workflow with two jobs:
- governance: runs on PRs + push (validate, drift, doctor, evidence, audit)
- scorecard: runs only on push to main + dispatch (build + scorecard generation)

Previously every PR triggered 3 separate workflow runs doing nearly identical
checkout → install → charter-commands work. This reduces PR governance runs
from 3 to 1, targeting ~66% reduction in Actions minutes.

Closes charter#54

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Task: Consolidate Charter governance workflows — 50% of org Actions minutes
@stackbilt-admin stackbilt-admin merged commit b8789db into main Mar 17, 2026
1 of 3 checks passed
@stackbilt-admin stackbilt-admin deleted the auto/06f59b15 branch March 17, 2026 09:32
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.

Investigate: 4 overlapping governance workflows consuming 50% of org Actions minutes

1 participant