Skip to content

Commit

Permalink
Disable sonarcloud on pullrequest, it does not work with forks
Browse files Browse the repository at this point in the history
  • Loading branch information
GeorgH93 committed Dec 8, 2021
1 parent 4c40500 commit 081ad95
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/sonarcloud.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ on:
push:
branches:
- master
pull_request:
types: [opened, synchronize, reopened]
# pull_request:
# types: [opened, synchronize, reopened]
jobs:
build:
name: Build
Expand Down Expand Up @@ -33,4 +33,4 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
run: mvn -s .github/workflows/settings.xml -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=GeorgH93_MarriageMaster
run: mvn -s .github/workflows/settings.xml -B verify org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=GeorgH93_MarriageMaster

0 comments on commit 081ad95

Please sign in to comment.