Merge pull request #11 from pfizer/tron-19085 #7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: [opened, synchronize, reopened] | |
jobs: | |
sonarqube: | |
name: SonarQube Scan | |
continue-on-error: true | |
runs-on: [self-hosted, bolt-ubuntu] | |
steps: | |
- name: Checkout Codebase | |
uses: actions/checkout@v3 | |
- name: SonarQube Scan | |
uses: pfizer-github-automation/sonar-scan-action@main | |
env: | |
SONAR_HOST_URL: ${{ secrets.SONAR_HOST_URL }} | |
SONAR_ROOT_CERT: ${{ secrets.SONAR_ROOT_CERT }} | |
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }} |