Skip to content

Commit a224c65

Browse files
committed
Checking PR Branch Name
1 parent 6d0d6d8 commit a224c65

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

.github/workflows/pr-flow.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ jobs:
1616
- name: PR-BUILD
1717
run: |
1818
cd initial
19-
export CHANGE_BRANCH=`echo ${GITHUB_REF##*/}`
19+
echo "${{ github.head_ref }}"
2020
export CHANGE_ID=$(echo $GITHUB_REF | awk 'BEGIN { FS = "/" } ; { print $3 }')
21-
bash ./gradlew sonarqube -Dsonar.pullrequest.branch=${CHANGE_BRANCH} -Dsonar.pullrequest.base=development -Dsonar.pullrequest.key=${CHANGE_ID} showSonarQubeLink --info
22-
bash ./gradlew -Pbuild_target=SNAPSHOT clean build jacocoTestReport spotlessApply spotbugsMain
21+
bash ./gradlew -Pbuild_target=SNAPSHOT clean build jacocoTestReport spotlessApply spotbugsMain

0 commit comments

Comments
 (0)