Skip to content

Commit

Permalink
test github repo name condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ThomasCAI-mlv committed Feb 17, 2025
1 parent dee2c26 commit caa8f73
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,12 @@ jobs:
name: ns4kafka
path: ${{ github.workspace }}/build/libs/ns4kafka-${{ steps.build_jar.outputs.current_version }}.jar

- name: Sonar
if: github.event.pull_request.head.repo.full_name == github.repository
run: ./gradlew jacocoTestReport sonar
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

- name: Docker
run: ./gradlew dockerBuild

0 comments on commit caa8f73

Please sign in to comment.