Simplify automerge docs: use --label flag on gh pr create (#7)
This commit is contained in:
parent
df731d9d90
commit
4d1461c58d
1 changed files with 1 additions and 2 deletions
|
|
@ -108,8 +108,7 @@ pnpm test:e2e:ui # Run E2E tests with Playwright UI
|
||||||
- Keep PRs focused — one logical change per PR
|
- Keep PRs focused — one logical change per PR
|
||||||
- Add the `automerge` label to auto-merge when CI passes:
|
- Add the `automerge` label to auto-merge when CI passes:
|
||||||
```bash
|
```bash
|
||||||
gh pr create --title "..." --body "..."
|
gh pr create --title "..." --body "..." --label automerge
|
||||||
gh api repos/trails-cool/trails/issues/<PR_NUMBER>/labels -f "labels[]=automerge"
|
|
||||||
```
|
```
|
||||||
- PRs with `automerge` label squash-merge and delete the branch automatically
|
- PRs with `automerge` label squash-merge and delete the branch automatically
|
||||||
- Use squash merges to keep main history clean
|
- Use squash merges to keep main history clean
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue