File tree Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Expand file tree Collapse file tree 2 files changed +19
-3
lines changed Original file line number Diff line number Diff line change @@ -2,15 +2,30 @@ name: Static Analysis
22on :
33 workflow_dispatch :
44 push :
5- branches :
6- - master
5+ branches : [ master ]
6+ paths :
7+ - ' src/**'
8+ - ' examples/**'
9+ - ' hw/bsp/**'
10+ - ' .github/workflows/static_analysis.yml'
711 pull_request :
8- types : [opened, synchronize, reopened]
12+ branches : [ master ]
13+ paths :
14+ - ' src/**'
15+ - ' examples/**'
16+ - ' hw/bsp/**'
17+ - ' .github/workflows/static_analysis.yml'
918
1019permissions :
1120 actions : read
1221 contents : read
1322 security-events : write
23+ # pull-requests: write
24+ # checks: write
25+
26+ concurrency :
27+ group : ${{ github.workflow }}-${{ github.ref }}
28+ cancel-in-progress : true
1429
1530jobs :
1631 CodeQL :
Original file line number Diff line number Diff line change @@ -9,6 +9,7 @@ sonar.projectVersion=0.19.0
99
1010# Path is relative to the sonar-project.properties file. Replace "\" by "/" on Windows.
1111# sonar.sources=.
12+ sonar.exclusions =lib/**,hw/mcu/**,test/**
1213
1314# Encoding of the source code. Default is default system encoding
1415# sonar.sourceEncoding=UTF-8
You can’t perform that action at this time.
0 commit comments