Skip to content

ci: add ci-gate workflow (A4)#4

Merged
loera140 merged 1 commit into
mainfrom
ci/add-ci-gate-workflow
May 10, 2026
Merged

ci: add ci-gate workflow (A4)#4
loera140 merged 1 commit into
mainfrom
ci/add-ci-gate-workflow

Conversation

@loera140
Copy link
Copy Markdown
Contributor

Summary

  • Adds .github/workflows/ci-gate.yml running npm ci && npm test on every PR and on push to main
  • Always-runs (no paths filter) so it can be promoted to a required status check in environment branch_protection.tf

Why

Per the BuildPulse audit Group A4 plan, four repos are currently listed as PR-REVIEW-ONLY in environment/branch_protection.tf because their existing CI is paths-filtered or absent. This adds the always-runs gate so this repo can be promoted to require status checks.

Test plan

  • Pre-flight locally: npm ci && npm test passes (4 suites, 26 tests)
  • First PR run is green
  • Follow-up environment PR adds required_status_checks { contexts = ["ci-gate"] } to this repo's github_branch_protection resource

🤖 Generated with Claude Code

Adds an always-runs gate that executes `npm ci && npm test` on every
PR and on push to main. Enables this repo to be promoted from
PR-REVIEW-ONLY to a required-status-check entry in environment-repo
branch_protection.tf.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@loera140 loera140 merged commit 2a13e30 into main May 10, 2026
1 check passed
@loera140 loera140 deleted the ci/add-ci-gate-workflow branch May 10, 2026 05:07
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