We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6494a4a commit 2c15b3fCopy full SHA for 2c15b3f
.github/workflows/analysis.yml
@@ -25,10 +25,15 @@ on:
25
- '!**/docs.yml'
26
- '!**.properties'
27
- '!docs/**'
28
+ # Run analysis on PRs only if the branch name indicates that the purpose of
29
+ # the PR is related to the Sonar analysis. We don't run on every PR because
30
+ # the analysis run is very expensive and just isn't usually necessary.
31
+ pull_request:
32
+ branches:
33
+ - '*analysis*'
34
+ - '*sonar*'
35
# Allow manual kicking off of the workflow from github.com
36
workflow_dispatch:
- # Uncomment the following line if we want to run analysis on all PRs:
- # pull_request:
37
38
permissions: read-all
39
0 commit comments