Commit e71a40e
authored
fix(ci): remove validate from testing branch protection to unblock sync (#1014)
* fix(ci): remove validate from testing branch protection to unblock sync
The validate job in build.yml only fires on pull_request events. A direct
push from sync-main-to-testing never triggers it, so the required status
check could never be satisfied — GITHUB_TOKEN is always rejected by the
protected branch rule.
PRs to testing still run validate before entering the merge queue. Removing
the branch-level requirement adds no risk and unblocks the automated
post-promotion sync needed for Tuesday releases.
Assisted-by: Claude Sonnet 4.6 via GitHub Copilot
* docs(skills): fix sync lesson — testing is loose integration branch, no PR CI gate
The initial entry incorrectly claimed PRs to testing are gated by validate
before merge queue entry. In reality, without a required status check on
testing, gh pr merge --auto fails and pr-triage falls back to direct squash
immediately. PRs merge to testing without waiting for CI.
Update ci-reference.md lesson to describe the actual tradeoff accurately.
Update pr-review.md to clarify validate+e2e are required on main only.
Assisted-by: Claude Sonnet 4.6 via GitHub Copilot1 parent 4579629 commit e71a40e
3 files changed
Lines changed: 27 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
9 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
10 | 12 | | |
11 | 13 | | |
12 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1833 | 1833 | | |
1834 | 1834 | | |
1835 | 1835 | | |
| 1836 | + | |
| 1837 | + | |
| 1838 | + | |
| 1839 | + | |
| 1840 | + | |
| 1841 | + | |
| 1842 | + | |
| 1843 | + | |
| 1844 | + | |
| 1845 | + | |
| 1846 | + | |
| 1847 | + | |
| 1848 | + | |
| 1849 | + | |
| 1850 | + | |
| 1851 | + | |
| 1852 | + | |
| 1853 | + | |
| 1854 | + | |
| 1855 | + | |
| 1856 | + | |
| 1857 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| |||
0 commit comments