Skip to content

Commit 2b04275

Browse files
authored
Create release.yml
1 parent 3f97d5c commit 2b04275

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/workflows/release.yml

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

0 commit comments

Comments
 (0)