Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/settings/repository.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"allow_auto_merge": true
"allow_auto_merge": true,
"delete_branch_on_merge": true
}
4 changes: 2 additions & 2 deletions docs/SECURING.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ policy files document the expected configuration and validate workflow changes.
required checks, and blocks deletion and force pushes. It also requires
CODEOWNER approval for the paths assigned in
[CODEOWNERS](../.github/CODEOWNERS).
- Allow GitHub native auto-merge using
- Allow GitHub native auto-merge and automatic deletion of merged PR branches using
[repository.json](../.github/settings/repository.json). Maintainers opt in
each ready PR; all required checks and reviews still gate the merge.
- Retain the repository-administrator bypass used by Delaunay. Ordinary
Expand Down Expand Up @@ -141,7 +141,7 @@ uses it. Rerunning an older job does not load a newly deployed caller.

## Applying settings

Enable native auto-merge with the committed repository setting:
Enable native auto-merge and delete merged PR branches with the committed settings:

```sh
gh api --method PATCH repos/acgetchell/Papers \
Expand Down