chore: update AWS role references to use variables (#1472)

This commit is contained in:
Tom Keller 2025-09-04 16:46:38 -07:00 committed by GitHub
commit 163b496f8b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -16,7 +16,7 @@ jobs:
uses: aws-actions/configure-aws-credentials@v4 uses: aws-actions/configure-aws-credentials@v4
with: with:
aws-region: us-west-2 aws-region: us-west-2
role-to-assume: ${{ secrets.SECRETS_AWS_PACKAGING_ROLE_TO_ASSUME }} role-to-assume: ${{ vars.AWS_PACKAGING_ROLE_TO_ASSUME }}
role-duration-seconds: 900 role-duration-seconds: 900
role-session-name: SecretsManagerFetch role-session-name: SecretsManagerFetch
- name: Get bot user token - name: Get bot user token
@ -24,7 +24,7 @@ jobs:
with: with:
parse-json-secrets: true parse-json-secrets: true
secret-ids: | secret-ids: |
${{ secrets.OSDS_PACKAGING_ROLE }} ${{ vars.OSDS_PACKAGING_ROLE }}
- name: Enable PR automerge - name: Enable PR automerge
run: gh pr merge --auto --squash "$PR_URL" run: gh pr merge --auto --squash "$PR_URL"
env: env: