Skip to content

Commit

Permalink
Update automerge.yml (#591)
Browse files Browse the repository at this point in the history
* Update automerge.yml

* update
  • Loading branch information
mxsm authored Jun 15, 2024
1 parent 51772f9 commit b133f4a
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,8 @@
name: Auto Merge PR
on:
pull_request_target:
check_suite:
types:
- labeled
- synchronize
- opened
branches: [main]
pull_request_review:
types:
- submitted
- completed
jobs:
automerge:
runs-on: ubuntu-latest
Expand All @@ -17,7 +11,7 @@ jobs:
uses: "pascalgn/[email protected]"
env:
GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
MERGE_LABELS: "approved,auto merge"
MERGE_LABELS: "approved"
MERGE_METHOD: "squash"
MERGE_COMMIT_MESSAGE: "automatic"
MERGE_FORKS: "false"
Expand All @@ -38,4 +32,4 @@ jobs:
repo,
issue_number,
body: "🚀This PR has been automatically merged with squash.🚀"
})
})

0 comments on commit b133f4a

Please sign in to comment.