Skip to content

Commit 65f996a

Browse files
committed
workflow: run codeql for PRs and ignore actions for doc changes
Signed-off-by: Tuomas Katila <tuomas.katila@intel.com>
1 parent f1f1c11 commit 65f996a

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

.github/workflows/ci.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ on:
77
branches:
88
- main
99
- 'release-*'
10+
# ignore PRs with only documentation changes
11+
paths-ignore:
12+
- '**/*.md'
1013

1114
permissions:
1215
contents: read
@@ -23,6 +26,13 @@ jobs:
2326
validate:
2427
uses: "./.github/workflows/lib-validate.yaml"
2528

29+
codeql:
30+
permissions:
31+
actions: read
32+
contents: read
33+
security-events: write
34+
uses: "./.github/workflows/lib-codeql.yaml"
35+
2636
build:
2737
needs:
2838
- trivy

0 commit comments

Comments
 (0)