Skip to content

Commit f597d93

Browse files
authored
Fixing publish workflow with github token (#553)
1 parent 435e3ca commit f597d93

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.github/workflows/integration-tests-publish.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,21 @@ jobs:
3030
continue-on-error: true
3131
- name: Checkout the repo
3232
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4.1.1
33+
- name: Setup GitHub Token
34+
id: setup-github-token
35+
uses: smartcontractkit/.github/actions/setup-github-token@9e7cc0779934cae4a9028b8588c9adb64d8ce68c # [email protected]
36+
with:
37+
aws-role-arn: ${{ secrets.AWS_OIDC_GLOBAL_READ_ONLY_TOKEN_ISSUER_ROLE_ARN }}
38+
aws-lambda-url: ${{ secrets.GATI_RELENG_LAMBDA_URL }}
39+
aws-region: ${{ secrets.QA_AWS_REGION }}
3340
- name: Build Image
3441
uses: ./.github/actions/build-test-image
3542
with:
3643
other_tags: ${{ env.ECR_TAG }}
3744
QA_AWS_ROLE_TO_ASSUME: ${{ secrets.QA_AWS_ROLE_TO_ASSUME }}
3845
QA_AWS_REGION: ${{ secrets.QA_AWS_REGION }}
3946
QA_AWS_ACCOUNT_NUMBER: ${{ secrets.QA_AWS_ACCOUNT_NUMBER }}
47+
GITHUB_TOKEN: ${{ steps.setup-github-token.outputs.access-token }}
4048
- name: Notify Slack
4149
# Only run this notification for merge to develop failures
4250
if: failure() && github.event_name != 'workflow_dispatch'

0 commit comments

Comments
 (0)