Skip to content

Commit 06992e0

Browse files
committed
workflow: specify a branch to have a better error message
1 parent 38249b6 commit 06992e0

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@ jobs:
3333
3434
- name: Semantic Release
3535
uses: cycjimmy/semantic-release-action@v6
36+
with:
37+
branches: |
38+
[
39+
'v+([0-9])?.+([0-9]).+([0-9])',
40+
]
3641
env:
3742
GITHUB_TOKEN: ${{ secrets.PERSONAL_TOKEN }}
3843
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)