Skip to content

Commit 2576c79

Browse files
committed
Add action to complete csing PRs
1 parent e6c09ad commit 2576c79

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: 'LEGO check in Automerge'
2+
3+
on: pull_request
4+
5+
jobs:
6+
worker:
7+
runs-on: ubuntu-latest
8+
9+
if: github.actor == 'csigs'
10+
steps:
11+
- uses: actions/github-script@v3
12+
with:
13+
script: |
14+
github.pulls.merge({
15+
owner: context.payload.repository.owner.login,
16+
repo: context.payload.repository.name,
17+
pull_number: context.payload.pull_request.number,
18+
merge_method: 'squash'
19+
})

0 commit comments

Comments
 (0)