You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Trigger analysis when pushing in master or pull requests, and when creating
3
+
# a pull request.
4
+
push:
5
+
branches:
6
+
- master
7
+
pull_request:
8
+
types: [opened, synchronize, reopened]
9
+
name: Main Workflow
10
+
jobs:
11
+
sonarcloud:
12
+
runs-on: ubuntu-latest
13
+
steps:
14
+
- uses: actions/checkout@v4
15
+
with:
16
+
# Disabling shallow clone is recommended for improving relevancy of reporting
17
+
fetch-depth: 0
18
+
- name: SonarCloud Scan
19
+
uses: sonarsource/sonarcloud-github-action@master # Ex: v2.1.0, See the latest version at https://github.com/marketplace/actions/sonarcloud-scan
0 commit comments