Simplify automerge docs: use --label flag on gh pr create (#7)

This commit is contained in:
Ullrich Schäfer 2026-03-22 22:57:14 +01:00 committed by GitHub
parent df731d9d90
commit 4d1461c58d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -108,8 +108,7 @@ pnpm test:e2e:ui # Run E2E tests with Playwright UI
- Keep PRs focused — one logical change per PR
- Add the `automerge` label to auto-merge when CI passes:
```bash
gh pr create --title "..." --body "..."
gh api repos/trails-cool/trails/issues/<PR_NUMBER>/labels -f "labels[]=automerge"
gh pr create --title "..." --body "..." --label automerge
```
- PRs with `automerge` label squash-merge and delete the branch automatically
- Use squash merges to keep main history clean