Skip to content
This repository was archived by the owner on May 8, 2024. It is now read-only.

Commit 91755fe

Browse files
fix: use ref input in checkout action - to fetch right branch
Signed-off-by: Matheus Ferreira <matheus.ferreira@zup.com.br>
1 parent d793af8 commit 91755fe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

.github/workflows/sonar-check-quality.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,13 @@ jobs:
1010
steps:
1111
- uses: actions/checkout@v3
1212
with:
13+
ref: ${{ github.ref }}
1314
fetch-depth: 0 # Shallow clones should be disabled for a better relevancy of analysis
1415

1516
- name: Set up JDK 11
1617
uses: actions/setup-java@v3
1718
with:
19+
distribution: temurin
1820
java-version: 11
1921

2022
- name: Cache SonarQube packages

0 commit comments

Comments
 (0)