We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 52e913b commit 0e533acCopy full SHA for 0e533ac
.github/workflows/if-not-tag-fail.yaml
@@ -6,6 +6,7 @@ on:
6
jobs:
7
job1:
8
runs-on: ubuntu-latest
9
+ if: startsWith(github.ref, 'refs/tags/')
10
steps:
11
- name: fail if main branch
12
run: |
0 commit comments