The GitHub Actions job "Tests (AMD)" on 
airflow.git/milestone-skip-on-backport-removal has succeeded.
Run started by GitHub user jason810496 (triggered by jason810496).

Head commit for run:
b9af0726dc57963a0353ee9f132ce925b605d9aa / LIU ZHE YOU <[email protected]>
CI: skip milestone tagging when maintainer unbackports during race window

Follow-up to #67337. When the workflow's `get-pr-info` snapshot caught a
`backport-to-*` label that the maintainer later removed before
`set-milestone` ran, #67337 already re-reads the live labels and
re-determines the milestone. That handles main-branch PRs (the
re-evaluation drops to "no milestone"), but a PR merged to a version
branch would still get that branch's milestone — the
merge-to-version-branch heuristic alone keeps producing one even after
the maintainer signalled "no backport".

Treat full removal of all backport labels during the race window as an
explicit "don't auto-tag" signal that overrides every other auto-tagging
condition. A partial removal that leaves a replacement
`backport-to-*` label (e.g. v3-1 swapped for v3-2) is still treated as a
fix, not a cancel, so the milestone follows the new label.

Extends `_should_skip_milestone_tagging` to optionally take the snapshot
labels and adds a `_all_backport_labels_removed` helper. Adds direct
unit tests for both, a regression test for the version-branch case, and
updates the existing post-snapshot-removal test to assert the new log
line.

Report URL: https://github.com/apache/airflow/actions/runs/26427707503

With regards,
GitHub Actions via GitBox


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to