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:
|
branches:
|
||||||
- main
|
- main
|
||||||
- 'release-*'
|
- 'release-*'
|
||||||
|
# ignore PRs with only documentation changes
|
||||||
|
paths-ignore:
|
||||||
|
- '**/*.md'
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
@ -23,6 +26,13 @@ jobs:
|
|||||||
validate:
|
validate:
|
||||||
uses: "./.github/workflows/lib-validate.yaml"
|
uses: "./.github/workflows/lib-validate.yaml"
|
||||||
|
|
||||||
|
codeql:
|
||||||
|
permissions:
|
||||||
|
actions: read
|
||||||
|
contents: read
|
||||||
|
security-events: write
|
||||||
|
uses: "./.github/workflows/lib-codeql.yaml"
|
||||||
|
|
||||||
build:
|
build:
|
||||||
needs:
|
needs:
|
||||||
- trivy
|
- trivy
|
||||||
|
Loading…
Reference in New Issue
Block a user