1
0
Fork 0
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:
Julien Voisin 2024-12-26 18:33:41 +00:00 committed by GitHub
parent f3989cdb2f
commit bbfe39722a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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'