SIGN IN SIGN UP

.github/workflows: enforce cherry-pick -x markers on release branch PRs

Company policy requires that all cherry-picks onto release branches be
made with "git cherry-pick -x" so the commit message records which
commit it came from, but nothing enforced that. Add a GitHub Actions
check that requires every commit in a PR targeting release-branch/* to
have a "(cherry picked from commit ...)" line referencing a commit
that's an ancestor of main. PRs that intentionally aren't cherry-picks
(version bumps, release-only fixes) can be exempted with the
"not-a-cherry-pick" label.

Updates tailscale/corp#45854

Signed-off-by: Brad Fitzpatrick <bradfitz@tailscale.com>
Change-Id: If463d6ecaefd855594d345c733606b411b6fd387
B
Brad Fitzpatrick committed
70a03faafe3bb19c4b8060489a0313a6a08c2191
Parent: 78e7e89
Committed by Brad Fitzpatrick <brad@danga.com> on 7/30/2026, 6:17:04 PM