Skip to content

Commit 6f46972

Browse files
authored
Add Release to Actions
1 parent 82a8a27 commit 6f46972

File tree

1 file changed

+19
-0
lines changed

1 file changed

+19
-0
lines changed

.github/workflows/release.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Release
2+
3+
on:
4+
pull_request:
5+
branches: master
6+
types: closed
7+
jobs:
8+
release:
9+
runs-on: ubuntu-latest
10+
if: github.event.pull_request.merged == true && true == contains(join(github.event.pull_request.labels.*.name), 'Release')
11+
steps:
12+
- uses: actions/checkout@v1
13+
- uses: elementary/actions/release@master
14+
env:
15+
GIT_USER_TOKEN: "${{ secrets.GIT_USER_TOKEN }}"
16+
GIT_USER_NAME: "elementaryBot"
17+
GIT_USER_EMAIL: "[email protected]"
18+
with:
19+
release_branch: 'juno'

0 commit comments

Comments
 (0)