Skip to content

Commit 4556002

Browse files
committed
fix(build): prevent publish under release commit
1 parent 35ccbf5 commit 4556002

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
branch: ${{ github.head_ref }}
3232

3333
release:
34-
if: ${{ !startsWith(github.event.head_commit.message, 'docs:') && !startsWith(github.event.head_commit.message, 'ci:') }}
34+
if: ${{ !startsWith(github.event.head_commit.message, 'chore(release):') && !startsWith(github.event.head_commit.message, 'docs:') && !startsWith(github.event.head_commit.message, 'ci:') }}
3535
needs: [contributors]
3636
runs-on: ubuntu-latest
3737
steps:

0 commit comments

Comments
 (0)