We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f131e51 commit 8db0c4dCopy full SHA for 8db0c4d
1 file changed
.github/workflows/publish-release.yml
@@ -2,16 +2,16 @@ name: Publish Release
2
3
on:
4
push:
5
- branches:
6
- - main
+ branches: [main]
+ workflow_dispatch:
7
8
permissions:
9
contents: write
10
pull-requests: read
11
12
jobs:
13
publish:
14
- if: contains(github.event.head_commit.message, 'rel/')
+ if: github.event_name == 'workflow_dispatch' || contains(github.event.head_commit.message, 'rel/')
15
runs-on: ubuntu-latest
16
17
env:
0 commit comments