Skip to content

Commit 0fd3f1e

Browse files
committed
workflows: Skip Sonarcloud and build jobs on doc change
Skip the Sonarcloud checks and build jobs when only docs have changed. Signed-off-by: Jan Tore Guggedal <[email protected]>
1 parent 94d09aa commit 0fd3f1e

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ on:
33
push:
44
branches:
55
- main
6+
paths-ignore:
7+
- ".github/workflows/docs-build-and-publish.yml"
8+
- "docs/**"
69
pull_request_target:
710
paths:
811
- '**/*.c'

.github/workflows/test.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ on:
1313
push:
1414
branches:
1515
- main
16+
paths-ignore:
17+
- ".github/workflows/docs-build-and-publish.yml"
18+
- "docs/**"
1619
jobs:
1720
build:
1821
uses: ./.github/workflows/build.yml

0 commit comments

Comments
 (0)