Skip to content

Commit fd28d71

Browse files
committed
Fix collabrator PR CI
1 parent ccfa59f commit fd28d71

File tree

2 files changed

+6
-19
lines changed

2 files changed

+6
-19
lines changed

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: CI
22

3-
on: [push]
3+
on: [push, pull_request]
44

55
jobs:
66
build:
@@ -20,9 +20,14 @@ jobs:
2020
run: make test
2121

2222
- name: Process test reports
23+
id: report
2324
run: make process-reports
25+
env:
26+
SONAR_ENABLED: ${{ !!secrets.SONAR_TOKEN }}
27+
if: ${{ env.SONAR_ENABLED == 'true' }}
2428

2529
- name: SonarQube Scan
2630
uses: SonarSource/sonarqube-scan-action@v5
2731
env:
2832
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
33+
if: ${{ steps.report.conclusion == 'success' }}

.github/workflows/pull-request.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)