Commit c804797
authored
Replace push-protected with direct push via TEAM4-0 bypass (#721)
Replace push-protected with direct push via TEAM4-0 bypass
The push-protected action relies on CI running on the push-action/**
temp branch to satisfy required status checks before pushing to master.
GitHub no longer triggers workflows for pushes made from within a
running workflow, so the temp branch CI never runs, push-protected
declares all checks vacuously complete, and the push fails.
Instead, a repository ruleset now enforces required status checks on
master with TEAM4-0 as an explicit bypass actor. The checkout step uses
RELEASE_PAT so the persisted credential is already TEAM4-0's token,
and the CD workflow pushes directly via git push — no remote URL
manipulation needed.
Also removes the dead push-action/** trigger from ci_tests.yml, which
only existed to support push-protected's temp branches.1 parent 0a48c4e commit c804797
2 files changed
Lines changed: 2 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
74 | 75 | | |
75 | 76 | | |
76 | 77 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
83 | | - | |
| 78 | + | |
84 | 79 | | |
85 | 80 | | |
86 | 81 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | 8 | | |
10 | 9 | | |
11 | 10 | | |
| |||
0 commit comments