mirror of
https://github.com/intel/intel-device-plugins-for-kubernetes.git
synced 2025-06-03 03:59:37 +00:00
workflow: run codeql for PRs and ignore actions for doc changes
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
This commit is contained in:
parent
1971717d21
commit
08b76b12cc
10
.github/workflows/ci.yaml
vendored
10
.github/workflows/ci.yaml
vendored
@ -7,6 +7,9 @@ on:
|
||||
branches:
|
||||
- main
|
||||
- 'release-*'
|
||||
# ignore PRs with only documentation changes
|
||||
paths-ignore:
|
||||
- '**/*.md'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@ -23,6 +26,13 @@ jobs:
|
||||
validate:
|
||||
uses: "./.github/workflows/lib-validate.yaml"
|
||||
|
||||
codeql:
|
||||
permissions:
|
||||
actions: read
|
||||
contents: read
|
||||
security-events: write
|
||||
uses: "./.github/workflows/lib-codeql.yaml"
|
||||
|
||||
build:
|
||||
needs:
|
||||
- trivy
|
||||
|
Loading…
Reference in New Issue
Block a user