Skip to content

Commit

Permalink
chore(ci): avoid multiple runs on same branch except main
Browse files Browse the repository at this point in the history
  • Loading branch information
youben11 committed Mar 4, 2025
1 parent 108918d commit 7e5b123
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ on:
schedule:
- cron: '44 9 * * 5' # Runs every Friday at 9:44 AM

concurrency:
group: codeql_${{ github.ref }}
cancel-in-progress: ${{ github.ref != 'refs/heads/main' }}

jobs:
setup-instance:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 7e5b123

Please sign in to comment.