Skip to content

Commit 0e533ac

Browse files
authored
Update if-not-tag-fail.yaml
1 parent 52e913b commit 0e533ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/if-not-tag-fail.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
jobs:
77
job1:
88
runs-on: ubuntu-latest
9+
if: startsWith(github.ref, 'refs/tags/')
910
steps:
1011
- name: fail if main branch
1112
run: |

0 commit comments

Comments
 (0)