Skip to content

Commit 08b76b1

Browse files
committed
workflow: run codeql for PRs and ignore actions for doc changes
Signed-off-by: Tuomas Katila <[email protected]>
1 parent 1971717 commit 08b76b1

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.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)