Skip to content

Commit 984ce30

Browse files
committed
Only run workflow on github/codeql
1 parent 887fc4b commit 984ce30

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

‎.github/workflows/label-external-contributions.yml‎

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@ concurrency:
1313

1414
jobs:
1515
label:
16-
if: github.ref_name == github.event.repository.default_branch
16+
if: >-
17+
github.repository == 'github/codeql' &&
18+
github.ref_name == github.event.repository.default_branch
1719
runs-on: ubuntu-latest
1820
timeout-minutes: 10
1921
permissions:

0 commit comments

Comments
 (0)