Skip to content

Commit 24e456d

Browse files
authored
fix(sonar):include lint in schedule main (#104)
This pull request updates the SonarQube workflow in `.github/workflows/schedule-main.yml` to improve its configuration and functionality. The changes include removing a conditional check and adding a new parameter to the SonarQube step. Updates to SonarQube workflow: * Removed the conditional `if: github.event_name == 'pull_request'` from the SonarQube job, allowing it to run regardless of the event type. * Added a new `include-lint: true` parameter to the SonarQube step to include linting results in the scan.
1 parent c2ff9c0 commit 24e456d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/schedule-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ jobs:
4646

4747
sonarqube:
4848
name: Sonar Scan
49-
if: github.event_name == 'pull_request'
5049
runs-on: ubuntu-24.04
5150
needs: [ ci-test, ci-lint-misc, ci-lint ]
5251
steps:
@@ -55,3 +54,4 @@ jobs:
5554
with:
5655
sonar-token: ${{ secrets.SONAR_TOKEN }}
5756
sonar-host-url: ${{ secrets.SONAR_HOST_URL }}
57+
include-lint: true

0 commit comments

Comments
 (0)