Skip to content

Commit a463d13

Browse files
author
FalkWolsky
committed
build pull req head branch instead of base branch
1 parent 9de551a commit a463d13

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/sonarcloud.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ jobs:
2121
- uses: actions/checkout@v3
2222
with:
2323
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
24+
ref: ${{ github.event.pull_request.head.sha }}
2425
- name: Build Java
2526
run: |
2627
mvn clean compile -DskipTests -f ./server/api-service/pom.xml

0 commit comments

Comments
 (0)