Skip to content

Commit 12f9bb5

Browse files
committed
chore: update GitHub repo config
This commit updates the squash commit format to the default `COMMIT_OR_PR_TITLE` and `COMMIT_MESSAGES` option, which avoids HTML markup used in PR descriptions being included in commit message body. Separately, it also restores the `required_linear_history` rule which was erroneously removed in the previous commit. Idempotency-Key: d298b0ca2e94c00b30dda072abb8297e
1 parent dc2776d commit 12f9bb5

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

.github/settings.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ repository:
1212
allow_merge_commit: false
1313
allow_squash_merge: true
1414
allow_rebase_merge: false
15-
squash_merge_commit_title: PR_TITLE
16-
squash_merge_commit_message: PR_BODY
15+
squash_merge_commit_title: COMMIT_OR_PR_TITLE
16+
squash_merge_commit_message: COMMIT_MESSAGES
1717

1818
# Allow auto-merge workflows (e.g. Dependabot)
1919
allow_auto_merge: true
@@ -37,6 +37,7 @@ rulesets:
3737
rules:
3838
- type: deletion # Block branch deletion
3939
- type: non_fast_forward # Block force-push
40+
- type: required_linear_history
4041
# NOTE: Copilot/Jules are not able to push signed commits yet
4142
# so we need repository admins to be able bypass this
4243
# restriction for PRs.

0 commit comments

Comments
 (0)