mirror of
https://github.com/Bayselonarrend/OpenIntegrations.git
synced 2025-03-25 21:39:21 +02:00
Update sonarqube.yml
This commit is contained in:
parent
af9e95753a
commit
0c77db0c08
9
.github/workflows/sonarqube.yml
vendored
9
.github/workflows/sonarqube.yml
vendored
@ -42,16 +42,7 @@ jobs:
|
||||
steps:
|
||||
- name: Setup sonarqube
|
||||
uses: warchant/setup-sonar-scanner@v3
|
||||
- name: Run SonarQube on push
|
||||
if: github.event_name == 'push'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
run: sonar-scanner
|
||||
-Dsonar.login=${{ secrets.SONAR_TOKEN }}
|
||||
-Dsonar.host.url=https://api.athenaeum.digital/Sonar
|
||||
- name: Run SonarQube on pull request
|
||||
if: github.event_name == 'pull_request'
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.TOKEN }}
|
||||
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user