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:
|
||||
push:
|
||||
branches: [ main ]
|
||||
paths:
|
||||
- '**.js'
|
||||
- '**.go'
|
||||
- '!**_test.go'
|
||||
pull_request:
|
||||
# The branches below must be a subset of the branches above
|
||||
branches: [ main ]
|
||||
paths:
|
||||
- '**.js'
|
||||
- '**.go'
|
||||
- '!**_test.go'
|
||||
schedule:
|
||||
- cron: '45 22 * * 3'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue