Commit 35d1769
ci(playwright): don't fail merge-group runs when baseline push is ruleset-blocked (#31983)
The direct-commit baseline refresh (#31907) hit main's repository
ruleset (GH013: changes must go through the merge queue) because the
workflow token has no bypass grant yet. The job treated that as 'main
moved, retry' and failed after 3 attempts — turning every full-mode
merge_group run red and ejecting innocent PRs (runs 32750389130,
32750390655): the exact failure mode the pipeline exists to prevent.
Detect ruleset rejections in the push output and degrade to a loud
::warning + job-summary note + graceful skip; keep the retry loop and
hard failure for genuine push races. Auto-refresh stays inert until a
maintainer grants the token bypass on the main ruleset.
Co-authored-by: Auto-revert Test <test-auto-revert@example.com>
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>1 parent a94404d commit 35d1769
1 file changed
Lines changed: 20 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
670 | 670 | | |
671 | 671 | | |
672 | 672 | | |
673 | | - | |
| 673 | + | |
| 674 | + | |
| 675 | + | |
| 676 | + | |
674 | 677 | | |
675 | 678 | | |
676 | 679 | | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
| 688 | + | |
| 689 | + | |
| 690 | + | |
| 691 | + | |
| 692 | + | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
677 | 696 | | |
678 | 697 | | |
679 | 698 | | |
| |||
0 commit comments