Skip to content

Commit 4b893c5

Browse files
committed
chore(ci): serialize auto-merge workflow runs
1 parent 8ff48c9 commit 4b893c5

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/merge.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ on:
44
pull_request:
55
types: [opened, reopened, labeled]
66

7+
concurrency:
8+
group: ${{ github.workflow }}
9+
710
jobs:
811
merge:
912
if: contains(github.event.pull_request.labels.*.name, 'auto-merge')
@@ -18,5 +21,5 @@ jobs:
1821
GH_TOKEN: ${{ github.token }}
1922
PR_URL: ${{ github.event.pull_request.html_url }}
2023
run: |
21-
gh pr review --approve --body "LGTM" "$PR_URL"
24+
gh pr review --approve "$PR_URL"
2225
gh pr merge --auto --squash "$PR_URL"

0 commit comments

Comments
 (0)