Skip to content

Commit

Permalink
workflows: Skip Sonarcloud and build jobs on doc change
Browse files Browse the repository at this point in the history
Skip the Sonarcloud checks and build jobs when only docs have
changed.

Signed-off-by: Jan Tore Guggedal <[email protected]>
  • Loading branch information
jtguggedal committed Dec 3, 2024
1 parent 94d09aa commit 0fd3f1e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
push:
branches:
- main
paths-ignore:
- ".github/workflows/docs-build-and-publish.yml"
- "docs/**"
pull_request_target:
paths:
- '**/*.c'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@ on:
push:
branches:
- main
paths-ignore:
- ".github/workflows/docs-build-and-publish.yml"
- "docs/**"
jobs:
build:
uses: ./.github/workflows/build.yml
Expand Down

0 comments on commit 0fd3f1e

Please sign in to comment.