Skip to content

Commit

Permalink
Tighten the CodeQL rules
Browse files Browse the repository at this point in the history
- don't run CodeQL on test files>
- don't run CodeQL if no `.go` nor `.js` file have been modified.
  • Loading branch information
jvoisin committed Dec 25, 2024
1 parent f3989cd commit 26ebabf
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,19 @@ permissions: read-all
on:
push:
branches: [ main ]
paths:
- '**.js'
- '**.go'
paths-ignore:
- '**_test.go'
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
paths:
- '**.js'
- '**.go'
paths-ignore:
- '**_test.go'
schedule:
- cron: '45 22 * * 3'

Expand Down

0 comments on commit 26ebabf

Please sign in to comment.