Skip to content

Commit acb4fe5

Browse files
authored
Merge d7c2485 into 9c5c9c3
2 parents 9c5c9c3 + d7c2485 commit acb4fe5

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Merge Release Into Master
2+
3+
on: repository_dispatch
4+
5+
jobs:
6+
merge_to_master:
7+
runs-on: ubuntu-latest
8+
# Allow GITHUB_TOKEN to have write permissions
9+
permissions:
10+
contents: write
11+
steps:
12+
- name: Merge to master
13+
uses: actions/github-script@v6
14+
with:
15+
github-token: ${{ secrets.GITHUB_TOKEN }}
16+
script: |
17+
github.repos.merge({
18+
owner: context.repo.owner,
19+
repo: context.repo.repo,
20+
base: 'master',
21+
head: 'release'
22+
})

0 commit comments

Comments
 (0)