Skip to content

Commit 8305ba3

Browse files
authored
ci: fix pr-title (#177)
1 parent c3547dd commit 8305ba3

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/automerge.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,8 @@ jobs:
4343
runs-on: ubuntu-latest
4444
steps:
4545
- name: automerge
46-
run: |
47-
gh pr edit "${PR_NUMBER}" --title "ci: ${PR_TITLE}"
48-
gh pr merge "${PR_NUMBER}" --auto --squash
46+
run: gh pr merge "${PR_NUMBER}" --auto --squash
4947
env:
5048
GH_REPO: ${{ github.repository }}
5149
GH_TOKEN: ${{ github.token }}
5250
PR_NUMBER: ${{ github.event.pull_request.number }}
53-
PR_TITLE: ${{ github.event.pull_request.title }}

.pre-commit-config.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,3 +98,6 @@ repos:
9898
rev: v0.16.0
9999
hooks:
100100
- id: yamlfmt
101+
102+
ci:
103+
autoupdate_commit_msg: "ci: pre-commit autoupdate"

0 commit comments

Comments
 (0)