Skip to content

chore(ci): skip pull_request runs for release-please output-only PRs - #120

Merged
kunchenguid merged 1 commit into
mainfrom
fm/release-ci-axi-r3
Jul 31, 2026
Merged

chore(ci): skip pull_request runs for release-please output-only PRs#120
kunchenguid merged 1 commit into
mainfrom
fm/release-ci-axi-r3

Conversation

@kunchenguid

Copy link
Copy Markdown
Owner

Summary

Prevent normal PR CI from being created for axi-sdk-js release-please PRs (Shape E).

release-please opens its release PR with GITHUB_TOKEN, which creates pull_request runs that can only sit in action_required. This change excludes the exact axi-sdk-js release-output set from every pull_request trigger so those PRs create zero runs.

Changes

  • axi-sdk-js-ci.yml: append ordered negative paths patterns after the positive allow-list (cannot combine paths with paths-ignore). Does not negate root package.json.
  • guard-generated-files.yml and no-mistakes-required.yml: add paths-ignore for the release-output set. Keep existing bot author if conditions as defense in depth.
  • docs-check.yml: unchanged (existing allow-list already skips release PRs).
  • Add config-derived drift test packages/axi-sdk-js/test/release-ci-exclusions.test.ts.

Release-output set

  • .release-please-manifest.json
  • packages/axi-sdk-js/CHANGELOG.md
  • packages/axi-sdk-js/package.json
  • packages/axi-sdk-js/package-lock.json (defensive; not present under pnpm)

Validation

  • YAML parse of edited workflows
  • Focused drift tests (127 package tests pass)
  • Offline file-list simulation: release-only paths create no PR runs; ordinary SDK/root changes still do

Notes

  • Direct-PR delivery per captain override for the release-please CI rollout. A red no-mistakes-required check is expected on this PR.
  • Commit type is chore(ci) so release-please does not cut a release from this maintenance patch.
  • Do not merge any generated release PR as part of this work.

release-please opens its PR with GITHUB_TOKEN, which creates pull_request
runs that can only sit in action_required. Exclude the axi-sdk-js
release-output set from every pull_request trigger so those PRs create
zero runs, while ordinary PR and push/tag/publish paths stay unchanged.
@kunchenguid
kunchenguid merged commit 93c5f33 into main Jul 31, 2026
2 of 3 checks passed
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