2828 GH_USER : ${{ secrets.GH_USER }}
2929 GH_EMAIL : ${{ secrets.GH_EMAIL }}
3030 DOM_EKS : ${{ secrets.DOM_EKS }}
31- GITHUB_TOKEN : ${{ secrets.GIT_TOKEN }}
31+ GIT_TOKEN : ${{ secrets.GIT_TOKEN }}
3232 BUILD_BASE : ${{ (contains(github.event.pull_request.body, 'ci:build-base') || github.event_name == 'schedule') && '1' || '0' }}
3333 MULTITENANCY : ${{ (contains(github.event.pull_request.body, 'ci:multitenancy')) && 'true' || 'false' }}
3434 BASE_IMAGE : ${{ secrets.REGISTRY_HOST }}/processmaker/processmaker:base
@@ -258,7 +258,7 @@ jobs:
258258 done
259259 # Send the content of /tmp/comment.md as a PR comment
260260 MESSAGE=$(cat /tmp/comment.md)
261- GITHUB_TOKEN =${{ secrets.GITHUB_TOKEN }}
261+ GIT_TOKEN =${{ secrets.GIT_TOKEN }}
262262 GITHUB_REPOSITORY=${{ github.repository }}
263263 PR_NUMBER=$(jq -r .number < "$GITHUB_EVENT_PATH")
264264
@@ -271,7 +271,7 @@ jobs:
271271 json_payload=$(jq -n --arg message "$MESSAGE" '{"body": $message}')
272272
273273 curl -s \
274- -H "Authorization: token ${GITHUB_TOKEN }" \
274+ -H "Authorization: token ${GIT_TOKEN }" \
275275 -H "Accept: application/vnd.github.v3+json" \
276276 -d "$json_payload" \
277277 "${URL}"
@@ -340,7 +340,7 @@ jobs:
340340 # - name: Clone repo K8S
341341 # run: |
342342 # echo "IMAGE: ${{ env.IMAGE }}"
343- # git clone --depth 1 -b "$K8S_BRANCH" "https://$GITHUB_TOKEN @github.com/ProcessMaker/pm4-k8s-distribution.git" pm4-k8s-distribution
343+ # git clone --depth 1 -b "$K8S_BRANCH" "https://$GIT_TOKEN @github.com/ProcessMaker/pm4-k8s-distribution.git" pm4-k8s-distribution
344344
345345 - name : Login to Harbor
346346 uses : docker/login-action@v2
@@ -369,7 +369,7 @@ jobs:
369369 - name : SonarQube Coverage Report
370370 uses : sonarsource/sonarqube-scan-action@master
371371 env :
372- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
372+ GIT_TOKEN : ${{ secrets.GIT_TOKEN }}
373373 SONAR_TOKEN : ${{ secrets.SONAR_TOKEN }}
374374 SONAR_HOST_URL : ${{ secrets.SONAR_HOST_URL }}
375375 with :
0 commit comments