diff --git a/.github/workflows/relayer.yml b/.github/workflows/relayer.yml index 3a44b5704..e9694f284 100644 --- a/.github/workflows/relayer.yml +++ b/.github/workflows/relayer.yml @@ -66,13 +66,13 @@ jobs: uses: actions/setup-go@0c52d547c9bc32b1aa3301fd7a9cb496313a4491 # v5.0.0 with: go-version-file: "relayer/go.mod" - - name: Setup Go with private repo access - shell: bash - run: | - git config --global url."https://${GITHUB_TOKEN}@github.com/".insteadOf "https://github.com/" - go env -w GOPRIVATE=github.com/smartcontractkit/* - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + - name: Setup GitHub Token + id: setup-github-token + uses: smartcontractkit/.github/actions/setup-github-token@9e7cc0779934cae4a9028b8588c9adb64d8ce68c # setup-github-token@0.1.2 + with: + aws-role-arn: ${{ secrets.AWS_ROLE_ARN_GLOBAL_READ_ONLY }} + aws-lambda-url: ${{ secrets.GATI_LAMBDA_RELENG_URL }} + aws-region: ${{ secrets.QA_AWS_REGION }} - name: Ensure "make gomodtidy" has been run run: | make gomodtidy