Skip to content

Commit b9f47b4

Browse files
[ISSUE #557]🔨Update automerge.yml
1 parent e677d66 commit b9f47b4

File tree

1 file changed

+2
-16
lines changed

1 file changed

+2
-16
lines changed

.github/workflows/automerge.yml

+2-16
Original file line numberDiff line numberDiff line change
@@ -16,23 +16,9 @@ jobs:
1616
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
1717
MERGE_LABELS: "approved,auto merge"
1818
MERGE_METHOD: "squash"
19-
MERGE_COMMIT_MESSAGE: "pull-request-title"
19+
MERGE_COMMIT_MESSAGE: "automatic"
2020
MERGE_FORKS: "false"
2121
MERGE_RETRIES: "10"
2222
MERGE_RETRY_SLEEP: "20000"
2323
MERGE_REQUIRED_APPROVALS: "1"
24-
UPDATE_METHOD: "rebase"
25-
26-
- name: Add comment
27-
if: ${{ steps.automerge.outputs.mergeResult == 'merged' }}
28-
uses: actions/github-script@v7
29-
with:
30-
github-token: ${{ secrets.GITHUB_TOKEN }}
31-
script: |
32-
const { owner, repo, number: issue_number } = context.issue;
33-
github.rest.issues.createComment({
34-
owner,
35-
repo,
36-
issue_number,
37-
body: "🚀This PR has been automatically merged with squash.🚀"
38-
})
24+
UPDATE_METHOD: "rebase"

0 commit comments

Comments
 (0)