Skip to content

Make repository validation PR-only (#538) - #539

Merged
amirbena merged 1 commit into
mainfrom
chore/538-validate-pr-only
Sep 24, 2026
Merged

amirbena merged 1 commit into
mainfrom
chore/538-validate-pr-only

Conversation

@amirbena

Copy link
Copy Markdown
Owner

Fixes #538

What

  • Behavior / contracts: validate.yml now triggers on pull_request only. The push: branches: [main] trigger is removed, so a merge no longer re-runs the FULL suite, the Skill-tree builds, spec validation, and the shell/PowerShell parity jobs. PR routing (FAST/FULL) and all validation jobs are unchanged. The route step still resolves any non-PR event to FULL, as a defensive fallback. release-publish.yml is untouched: it still runs on push to main, with its own build, provenance, distribution, tag, and release verification.
  • Governance / policy: policies/validation-and-clean-exit.md ("Routed CI tests") now states that the pre-merge boundary is PR-only. It also drops the "every push to main runs FULL" safety net: a missed allowlist consumer now surfaces on the next PR that routes FULL. README and .github/AUTOMATION.md are updated to match. test_ci_test_routing.py now asserts the trigger set is exactly {pull_request}.
  • Packaging / portability: None
  • Changelog: generated at release from the two lines below — never edit CHANGELOG.md (see docs/RELEASE.md)
  • Release category: none
  • Release entry:

Validation

  • Relevant validation was run, or the reason it could not be run is stated.
  • CI routing policy + router unit + release-publish workflow tests: 82 OK. tests/policy/governance: OK. Markdown link validation: OK.
  • After merge: confirm the merge commit starts only Release publish, not Validate repository.

Review

None yet.

🤖 Generated with Claude Code

Drop validate.yml's push-to-main trigger so a merge no longer re-runs the
FULL suite and cross-platform Skill-tree builds; pushes to main stay
reserved for release-publish.yml. Update the docs that promised FULL on
every push, and pin the pull_request-only trigger in the routing test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@amirbena
amirbena merged commit 1d9999c into main Sep 24, 2026
7 checks passed
@amirbena
amirbena deleted the chore/538-validate-pr-only branch September 24, 2026 17:30
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.

Make repository validation PR-only and reserve main pushes for release publication

1 participant