Skip to content

Commit b84f930

Browse files
authored
Update sonarcloud.yml
1 parent 0b58c30 commit b84f930

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

.github/workflows/sonarcloud.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,12 @@
2929
name: SonarCloud analysis
3030

3131
on:
32-
push:
33-
branches: [ "main" ]
34-
pull_request:
35-
branches: [ "main" ]
3632
workflow_dispatch:
33+
inputs:
34+
branch:
35+
description: 'Branch to run analysis on'
36+
required: true
37+
default: 'main'
3738

3839
permissions:
3940
pull-requests: read # allows SonarCloud to decorate PRs with analysis results

0 commit comments

Comments
 (0)