Skip to content

Commit 380be35

Browse files
authored
🤖 docs: update AGENTS.md with merge guidelines (#731)
Explicitly forbid auto-squash/auto-merge without user permission.
1 parent 4209c3a commit 380be35

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

docs/AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ gh pr view <number> --json mergeable,mergeStateStatus | jq '.'
2222
- Status decoding: `mergeable=MERGEABLE` clean; `CONFLICTING` needs resolution. `mergeStateStatus=CLEAN` ready, `BLOCKED` waiting for CI, `BEHIND` rebase, `DIRTY` conflicts.
2323
- If behind: `git fetch origin && git rebase origin/main && git push --force-with-lease`.
2424
- Never enable auto-merge or merge at all unless the user explicitly says "merge it".
25+
- Do not enable auto-squash or auto-merge on Pull Requests unless explicit permission is given.
2526
- PR descriptions: include only information a busy reviewer cannot infer; focus on implementation nuances or validation steps.
2627
- Title prefixes: `perf|refactor|fix|feat|ci|bench`, e.g., `🤖 fix: handle workspace rename edge cases`.
2728

0 commit comments

Comments
 (0)