Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix code review functions
Browse files Browse the repository at this point in the history
manuraf committed Nov 28, 2023
1 parent 8fa2a77 commit b0bf452
Showing 1 changed file with 7 additions and 11 deletions.
18 changes: 7 additions & 11 deletions .github/workflows/code_review_functions.yml
Original file line number Diff line number Diff line change
@@ -22,18 +22,14 @@ jobs:
packages: read
id-token: write
steps:
- uses: actions/checkout@v4
with:
sparse-checkout: |
apps/onboarding-functions
libs/
test-coverage/
- name: Set up JDK 17
uses: actions/setup-java@v3
- name: Setup Maven Action
uses: s4u/setup-maven-action@v1.11.0
with:
checkout-fetch-depth: 0
java-version: 17
distribution: 'temurin'
java-distribution: 'temurin'
maven-version: '3.9.5'
cache-enabled: true

- name: Build and analyze on Pull Requests
shell: bash
@@ -43,7 +39,7 @@ jobs:
-Dsonar.token=${{ secrets.SONAR_TOKEN }}
-Dsonar.pullrequest.key=${{ github.event.pull_request.number }}
-Dsonar.pullrequest.branch=${{ github.head_ref }}
-Dsonar.pullrequest.base=${{ github.base_ref }}
-Dsonar.pullrequest.base=refs/remotes/origin/${{ github.base_ref }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}

0 comments on commit b0bf452

Please sign in to comment.