Commit 350a2c3
authored
[Console] Enable auto-merge in console_definitons (#270941)
## Summary
I noticed that we often approve the auto-generated PR, but we sometimes
forget to enable merge/auto-merge, so the PR sits there and never
merges. When that happens, the next weeks’ PRs don’t get generated, and
the whole weekly chain stalls. Enabling auto-merge at PR creation time
prevents this from being blocked by a missed manual step.
This change updates
`.buildkite/scripts/steps/console_definitions_sync.sh` so that after
creating the Console definitions sync PR it:
* Automatically enables auto-merge (squash) for that PR via gh pr merge
--auto --squash.
* Logs a warning if enabling auto-merge fails, without failing the step.1 parent 9365dc1 commit 350a2c3
1 file changed
Lines changed: 7 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
78 | 83 | | |
79 | 84 | | |
80 | 85 | | |
0 commit comments