Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
push:
branches:
- master
- pull_request_target:
+ pull_request:
types: [opened, synchronize, reopened]
workflow_dispatch:
inputs:
- name: Sonar Code Analysis
if: "github.repository == 'poolifier/poolifier' && matrix.node-version == '14.x'"
- uses: SonarSource/sonarcloud-github-action@master
+ uses: sonarsource/sonarcloud-github-action@master
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}