From f9886174c9e432516286f506704ac34968c9da24 Mon Sep 17 00:00:00 2001 From: Catherine Lee Date: Tue, 9 Jul 2024 10:17:30 -0700 Subject: [PATCH 1/2] tc --- .github/workflows/update-queue-times.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/update-queue-times.yml b/.github/workflows/update-queue-times.yml index 5526592f05..73c507555f 100644 --- a/.github/workflows/update-queue-times.yml +++ b/.github/workflows/update-queue-times.yml @@ -14,6 +14,12 @@ jobs: steps: - uses: actions/checkout@v3 - run: yarn install --frozen-lockfile + - name: configure aws credentials + id: aws_creds + uses: aws-actions/configure-aws-credentials@v1.7.0 + with: + role-to-assume: arn:aws:iam::308535385114:role/gha_workflow_update_queue_times + aws-region: us-east-1 - run: yarn node scripts/updateQueueTimes.mjs env: ROCKSET_API_KEY: ${{ secrets.ROCKSET_API_KEY }} From 01454e09b3a0dd11db2de45f4b373172fa2c0335 Mon Sep 17 00:00:00 2001 From: Catherine Lee Date: Tue, 9 Jul 2024 10:30:47 -0700 Subject: [PATCH 2/2] tc --- .github/workflows/update-queue-times.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/update-queue-times.yml b/.github/workflows/update-queue-times.yml index 73c507555f..0c8249fe2b 100644 --- a/.github/workflows/update-queue-times.yml +++ b/.github/workflows/update-queue-times.yml @@ -11,6 +11,8 @@ defaults: jobs: update-queue-rockset: runs-on: ubuntu-20.04 + permissions: + id-token: write steps: - uses: actions/checkout@v3 - run: yarn install --frozen-lockfile