Skip to content

Commit

Permalink
workflow: sonarcloud: Make it trigger for changes to other files
Browse files Browse the repository at this point in the history
Make sonarcloud workflow trigger for PRs that change west.yml,
CMakelists.txt and Kconfig files. This is because they all influence how
the exectable is built and the compilation database.

Signed-off-by: Balaji Srinivasan <[email protected]>
  • Loading branch information
Balaji Srinivasan committed Jun 20, 2024
1 parent 4a394ec commit 2f771c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@ on:
paths:
- '**/*.c'
- '**/*.h'
- west.yml
- '**/CMakelists.txt'
- '**/Kconfig*'
- '**/prj.conf'
jobs:
build:
name: Build and analyze
Expand Down

0 comments on commit 2f771c2

Please sign in to comment.