8000 ci(policy): take the semver baseline from the base and the line's tags (#937) by adityamukho · Pull Request #970 · project-minigraf/minigraf · GitHub
[go: up one dir, main page]

Skip to content

ci(policy): take the semver baseline from the base and the line's tags (#937) - #970

Merged
adityamukho merged 1 commit into
mainfrom
ci/937-v2x-semver-base
Dec 1, 2026
Merged

adityamukho merged 1 commit into
mainfrom
ci/937-v2x-semver-base

Conversation

@adityamukho
Copy link
Copy Markdown
Collaborator

Part of the #937 branch move (step 0b, merges before the rename). After the move this copy of policy.yml runs for pushes and PRs to v2.x.

The semver baseline was the nearest tag reachable from the checkout. For a PR, that checkout includes the PR head's history, so a head that reaches v3.0.0-alpha would have been checked against it. The baseline is now the latest tag of the target line (v2.x: v2.*) reachable from the base: the PR merge's first parent, or HEAD for a push. For main today nothing changes: any v[0-9]* tag counts, and it is still taken from the base.

Found by the Codex (gpt-6-astra) review of the #937 changes; the follow-up review found nothing wrong with this fix.

Refs #937 (not closing).

#937)

After the #937 move this copy runs for pushes and PRs to v2.x. The
baseline was the nearest tag reachable from the checkout, which for a PR
includes the PR head's history: a head that reaches v3.0.0-alpha would
have been checked against it. Use the latest tag of the target line
(v2.x: v2.*) reachable from the base.
@codecov
codecov Bot commented Dec 1, 2026
Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@adityamukho
adityamukho merged commit dbcd481 into main Dec 1, 2026
20 checks passed
@adityamukho
adityamukho deleted the ci/937-v2x-semver-base branch December 1, 2026 10: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

0