mirror of
https://github.com/miniflux/v2.git
synced 2025-06-27 16:36:00 +00:00
ci: tighten the CodeQL rules
- don't run CodeQL on test files - don't run CodeQL if no `.go` nor `.js` file have been modified.
This commit is contained in:
parent
f3989cdb2f
commit
bbfe39722a
1 changed files with 8 additions and 0 deletions
8
.github/workflows/codeql-analysis.yml
vendored
8
.github/workflows/codeql-analysis.yml
vendored
|
@ -5,9 +5,17 @@ permissions: read-all
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
paths:
|
||||||
|
- '**.js'
|
||||||
|
- '**.go'
|
||||||
|
- '!**_test.go'
|
||||||
pull_request:
|
pull_request:
|
||||||
# The branches below must be a subset of the branches above
|
# The branches below must be a subset of the branches above
|
||||||
branches: [ main ]
|
branches: [ main ]
|
||||||
|
paths:
|
||||||
|
- '**.js'
|
||||||
|
- '**.go'
|
||||||
|
- '!**_test.go'
|
||||||
schedule:
|
schedule:
|
||||||
- cron: '45 22 * * 3'
|
- cron: '45 22 * * 3'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue