We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 3126366 + 9efbecc commit e669dc6Copy full SHA for e669dc6
.github/workflows/microsoft-codeql-pack-publish.yml
@@ -5,7 +5,7 @@ on:
5
6
jobs:
7
check-branch:
8
- if: github.ref != 'refs/heads/main'
+ if: github.ref == 'refs/heads/main'
9
runs-on: ubuntu-latest
10
steps:
11
- run: echo "This workflow can only run on the 'main' branch." && exit 1
0 commit comments