Skip to content

Commit 154a402

Browse files
authored
improve generate-tag workflow
1 parent e2060cf commit 154a402

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/generate-tag.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: generate-tag
22

33
on:
44
workflow_dispatch:
5-
if: github.ref == 'refs/heads/main'
5+
branches: [main]
66
inputs:
77
stage:
88
description: 'Stage'
@@ -21,7 +21,6 @@ on:
2121
default: 'auto'
2222
type: choice
2323
options:
24-
- 'patch'
2524
- 'minor'
2625
- 'major'
2726
- 'auto'

0 commit comments

Comments
 (0)