Skip to content

Commit 19f551d

Browse files
Only create tag from master or release branch
1 parent 79c2938 commit 19f551d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,7 @@ jobs:
151151
steps:
152152
- name: Create tag
153153
uses: actions/github-script@v7
154+
if: github.ref == 'refs/heads/master' || github.ref == 'refs/heads/release'
154155
with:
155156
github-token: ${{ github.token }}
156157
script: |

0 commit comments

Comments
 (0)