Commit 715fd2b
ci: Use date-based branch names for toxgen PRs (#5704)
Reusing the `toxgen/update` branch can get annoying, especially since it
needs manual babysitting (empty commit to trigger CI). Let's use
distinct names instead.
## Summary
- Instead of always reusing the same `toxgen/update` branch, the "Update
test matrix" workflow now creates a date-based branch (e.g.
`toxgen/update-03-19`).
- Same-day reruns force-push to the same branch, so they overwrite
rather than fail.
- The PR-closing logic now finds and closes all open PRs from any
`toxgen/` branch, not just the current one.
## Test plan
- [ ] Trigger the "Update test matrix" workflow manually and verify it
creates a branch like `toxgen/update-MM-DD`
- [ ] Trigger it again on the same day and verify it overwrites the
branch and closes the previous PR
- [ ] Verify old toxgen PRs from different branches get closed
Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 35fe9e4 commit 715fd2b
1 file changed
+10
-9
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
| 81 | + | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
85 | 84 | | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
95 | 96 | | |
96 | 97 | | |
97 | 98 | | |
| |||
0 commit comments