Skip to content

Commit 9efbecc

Browse files
authored
Update microsoft-codeql-pack-publish.yml
1 parent 3126366 commit 9efbecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/microsoft-codeql-pack-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55

66
jobs:
77
check-branch:
8-
if: github.ref != 'refs/heads/main'
8+
if: github.ref == 'refs/heads/main'
99
runs-on: ubuntu-latest
1010
steps:
1111
- run: echo "This workflow can only run on the 'main' branch." && exit 1

0 commit comments

Comments
 (0)