Skip to content

Commit 67f2bb2

Browse files
committed
feat(ci): improve workflow naming and clarity in sonar.yml
- Updated workflow name from "SonarQube" to "SonarQube Cloud Analysis" - Added description field to workflow for better GitHub Actions UI visibility - Maintained all existing triggers and job configurations :link: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#run-name This improves workflow discoverability in the GitHub Actions dashboard.
1 parent f872e92 commit 67f2bb2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

.github/workflows/sonar.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,11 @@
1-
name: Build
1+
name: SonarQube
2+
run-name: SonarQube Cloud Analysis.
23
on:
34
push:
45
branches:
56
- main
67
pull_request:
78
types: [opened, synchronize, reopened]
8-
permissions:
9-
contents: read
109
jobs:
1110
sonarqube:
1211
name: SonarQube
@@ -16,6 +15,6 @@ jobs:
1615
with:
1716
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
1817
- name: SonarQube Scan
19-
uses: SonarSource/sonarqube-scan-action@fd88b7d7ccbaefd23d8f36f73b59db7a3d246602
18+
uses: SonarSource/sonarqube-scan-action@a31c9398be7ace6bbfaf30c0bd5d415f843d45e9
2019
env:
2120
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 commit comments

Comments
 (0)