Skip to content

ci: compare pull requests with their merge base when selecting suites - #834

Merged
kvlonge merged 1 commit into
mainfrom
ci/verify-scope-merge-base
Sep 26, 2026
Merged

kvlonge merged 1 commit into
mainfrom
ci/verify-scope-merge-base

Conversation

@kvlonge

@kvlonge kvlonge commented Sep 26, 2026

Copy link
Copy Markdown
Contributor

Why

The suite selection compared the pull request head with the current tip of main. When main moved after the branch started, its new changes were counted as the pull request's, so a website-only pull request (#833) ran the full suite because of an unrelated release-please-config.json change.

Changes

  • Compare the pull request head with its merge base (BASE...HEAD), matching the files GitHub shows as changed.

Verification

@kvlonge
kvlonge enabled auto-merge (squash) September 26, 2026 03:42
@kvlonge
kvlonge merged commit e873816 into main Sep 26, 2026
22 checks passed
@kvlonge
kvlonge deleted the ci/verify-scope-merge-base branch September 26, 2026 03:56
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