We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8d9a161 commit 3d78ecdCopy full SHA for 3d78ecd
.github/workflows/release.yaml
@@ -70,11 +70,12 @@ jobs:
70
# 1. merged
71
# 2. to the main branch
72
# 3. with the label 'release:publish', and
73
- # 4. the title prefix '[chore] Release '.
74
- if: github.event.pull_request.merged &&
+ # 4. the title prefix 'chore: Release '.
+ if: >
75
+ github.event.pull_request.merged &&
76
github.ref == 'main' &&
77
contains(github.event.pull_request.labels.*.name, 'release:publish') &&
- startsWith(github.event.pull_request.title, '[chore] Release ')
78
+ startsWith(github.event.pull_request.title, 'chore: Release ')
79
80
runs-on: ubuntu-latest
81
0 commit comments