Skip to content

Commit 46f89a7

Browse files
author
Dave Johnston
authored
[maint]: Only run the sonarqube scan on push to main (#103)
1 parent 4a56f50 commit 46f89a7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

.github/workflows/sonar_analysis.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ name: Static Code Analysis
22
on:
33
push:
44
branches:
5-
- master # or the name of your main branch
6-
pull_request:
7-
types: [opened, synchronize, reopened]
5+
- main # or the name of your main branch
86
jobs:
97
build:
108
name: Build

0 commit comments

Comments
 (0)