We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03b5bc8 commit 8635356Copy full SHA for 8635356
1 file changed
.github/workflows/maven_pull_request.yml
@@ -21,12 +21,12 @@ jobs:
21
- name: Build with Maven
22
run: mvn -B verify --file pom.xml
23
- name: Scan with Sonar
24
- env:
25
- FORK: ${{ github.event.pull_request.head.repo.fork }}
26
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
27
- SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
28
run: |
29
if [ $FORK = false ]
30
then
31
mvn org.sonarsource.scanner.maven:sonar-maven-plugin:sonar -Dsonar.projectKey=BerryCloud_xapi-java -Dsonar.organization=berrycloud --file pom.xml
32
fi
+ env:
+ FORK: ${{ github.event.pull_request.head.repo.fork }}
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # Needed to get PR information, if any
+ SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
0 commit comments