We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02ae3e7 commit 25e468dCopy full SHA for 25e468d
1 file changed
.github/workflows/release.yml
@@ -1,13 +1,18 @@
1
name: Automatic release
2
on:
3
- release:
+ pull_request:
4
+ branches:
5
+ - master
6
+ - main
7
types:
- - published
8
+ - closed
9
10
workflow_dispatch:
11
12
jobs:
13
release:
14
+ if: |
15
+ github.event.pull_request.merged == true && contains(github.event.pull_request.labels.*.name, 'Type: Release')
16
permissions:
17
contents: write
18
id-token: write # OIDC
0 commit comments