Commit a91cbe4
chore: enable auto-merge after @NpmPackage 24h gate (CI) (#9521)
The @NpmPackage 24h gate already dismisses its block review and approves
the PR after 24 hours, but someone still has to click merge. These
bot-generated NpmPackages PRs are routine, so the merge should happen on
its own.
## Changes
After approving, the `wait-and-unblock` job now also enables auto-merge:
```sh
gh pr merge "$PR_NUMBER" --repo "$REPO" --auto --squash
```
- **Squash** because the repo disallows merge commits
(`allow_merge_commit: false`).
- Best-effort: a failure (PR already merged, or no pending required
checks) only logs a warning, so the job stays green.
- The block message now states it will also enable auto-merge.
Auto-merge is already allowed at the repo level (`allow_auto_merge:
true`), so the PR merges by itself once all required checks pass.
Follow-up to #9517
---
🤖 Generated with Claude Code
Co-authored-by: Zhe Sun <zhe@vaadin.com>
Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 3a0b286 commit a91cbe4
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
0 commit comments