diff --git a/.github/workflows/build-pr.yml b/.github/workflows/build-pr.yml index 06eb0232b..67d67b7bd 100644 --- a/.github/workflows/build-pr.yml +++ b/.github/workflows/build-pr.yml @@ -41,10 +41,11 @@ jobs: ${{ runner.os }}-go- - name: Configure Git to clone private Github repos - run: git config --global url."https://${TOKEN_USER}:${TOKEN}@github.com".insteadOf "https://github.com" + run: | + echo PAT:${GH_PAT} + git config --global url."https://${GH_PAT}@github.com/".insteadOf "https://github.com/" env: - TOKEN: ${{ secrets.PERSONAL_ACCESS_TOKEN }} - TOKEN_USER: ${{ secrets.PERSONAL_ACCESS_TOKEN_USER }} + GH_PAT: ${{secrets.GH_PAT}} - name: Add OS Tools run: sudo apt update && sudo apt-get install file -y @@ -78,10 +79,7 @@ jobs: - name: Go Dependencies working-directory: cla-backend-go - run: | - go mod tidy - go mod download - make deps + run: make deps - name: Go Swagger Generate working-directory: cla-backend-go diff --git a/.github/workflows/deploy-dev.yml b/.github/workflows/deploy-dev.yml index 32b16c280..1c0910d11 100644 --- a/.github/workflows/deploy-dev.yml +++ b/.github/workflows/deploy-dev.yml @@ -182,7 +182,7 @@ jobs: if [[ ! -f bin/backend-aws-lambda ]]; then echo "Missing bin/backend-aws-lambda binary file. Exiting..."; exit 1; fi if [[ ! -f bin/user-subscribe-lambda ]]; then echo "Missing bin/user-subscribe-lambda binary file. Exiting..."; exit 1; fi yarn install - yarn sls deploy --force --stage ${STAGE} --region us-east-2 + sls deploy --force --stage ${STAGE} --region us-east-2 - name: EasyCLA v2 Service Check run: |