Skip to content

ci: skip the ci workflow on the release PR - #2241

Closed
trivikr wants to merge 1 commit into
mainfrom
release-pr-skip-ci
Closed

ci: skip the ci workflow on the release PR#2241
trivikr wants to merge 1 commit into
mainfrom
release-pr-skip-ci

Conversation

@trivikr

@trivikr trivikr commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Issue #, if available:

N/A

Description of changes:

The changesets release PR only bumps versions, rewrites the inter-package dependency ranges to match, writes changelogs and deletes the consumed changesets. It touches no Java or TypeScript source, and release-dry-run.yml already installs, builds and packs that exact tree.

Guard every job rather than the trigger, since a pull_request event's branch filters match the base branch and there is no workflow-level if. This makes the step-level guard on the changeset status check redundant, so it moves up to the job.

The run is still created and still queued for approval before any of these conditions are evaluated, so ci stays in EXPECTED_WORKFLOWS in create-release-pr.yml, which is what approves it. It now completes as skipped rather than running the Java matrix, five Node test legs, protocol tests and docs extraction.


By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@trivikr
trivikr requested a review from a team as a code owner August 17, 2026 20:01
@trivikr

trivikr commented Aug 18, 2026

Copy link
Copy Markdown
Contributor Author

During post-scrum on 8/18, we decided to retain ci as it takes max 7 mins.
If publishing is urgent, we can always not wait for ci to succeed/fail before merging.

@trivikr trivikr closed this Aug 18, 2026
@trivikr
trivikr deleted the release-pr-skip-ci branch August 18, 2026 18:09
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