Skip to content

Commit

Permalink
ci: Allow forks to opt-in for codeql (argoproj#19996)
Browse files Browse the repository at this point in the history
Signed-off-by: Josh Soref <jsoref@gmail.com>
Signed-off-by: ratulbasak <ratulbasak93@gmail.com>
  • Loading branch information
jsoref authored and ratulbasak committed Sep 25, 2024
1 parent fba32af commit 5ab655b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
actions: read # for github/codeql-action/init to get workflow details
contents: read # for actions/checkout to fetch code
security-events: write # for github/codeql-action/autobuild to send a status report
if: github.repository == 'argoproj/argo-cd'
if: github.repository == 'argoproj/argo-cd' || vars.enable_codeql

# CodeQL runs on ubuntu-latest and windows-latest
runs-on: ubuntu-22.04
Expand Down

0 comments on commit 5ab655b

Please sign in to comment.