push:
branches:
- master
- pull_request:
+ pull_request_target:
types: [opened, synchronize, reopened]
branches:
- master
- name: SonarCloud Scan
uses: SonarSource/sonarcloud-github-action@master
env:
- GITHUB_TOKEN: ${{ secrets.USER_TOKEN }} # Needed to get PR information, if any
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
build-docker:
runs-on: ubuntu-latest