update workflow file ARNs (#1403)

This commit is contained in:
Tom Keller
2025-07-25 15:08:17 -07:00
committed by kellertk
parent ea5f0819c5
commit 2f368822bc
4 changed files with 6 additions and 6 deletions

View File

@@ -24,7 +24,7 @@ jobs:
with: with:
parse-json-secrets: true parse-json-secrets: true
secret-ids: | secret-ids: |
OSDS,arn:aws:secretsmanager:us-west-2:206735643321:secret:github-aws-sdk-osds-automation-gebs9n ${{ secrets.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:

View File

@@ -1,5 +1,5 @@
name: Dependabot auto-approve name: Dependabot auto-approve
on: on:
pull_request: pull_request:
workflow_dispatch: workflow_dispatch:
@@ -21,14 +21,14 @@ 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: arn:aws:iam::206735643321:role/ConfigureAwsCredentialsPackageRole role-to-assume: ${{ secrets.SECRETS_AWS_PACKAGING_ROLE_TO_ASSUME }}
role-duration-seconds: 900 role-duration-seconds: 900
- name: Get bot user token - name: Get bot user token
uses: aws-actions/aws-secretsmanager-get-secrets@v2 uses: aws-actions/aws-secretsmanager-get-secrets@v2
with: with:
parse-json-secrets: true parse-json-secrets: true
secret-ids: | secret-ids: |
OSDS,arn:aws:secretsmanager:us-west-2:206735643321:secret:github-aws-sdk-osds-automation-gebs9n ${{ secrets.OSDS_PACKAGING_ROLE }}
- name: Approve PR if not already approved - name: Approve PR if not already approved
run: | run: |
gh pr checkout "$PR_URL" gh pr checkout "$PR_URL"

View File

@@ -39,7 +39,7 @@ jobs:
with: with:
parse-json-secrets: true parse-json-secrets: true
secret-ids: | secret-ids: |
OSDS,arn:aws:secretsmanager:us-west-2:206735643321:secret:github-aws-sdk-osds-automation-gebs9n ${{ secrets.OSDS_PACKAGING_ROLE }}
- name: Commit - name: Commit
run: | run: |
echo "::add-mask::${{ env.OSDS_ACCESS_TOKEN }}" echo "::add-mask::${{ env.OSDS_ACCESS_TOKEN }}"

View File

@@ -32,7 +32,7 @@
with: with:
parse-json-secrets: true parse-json-secrets: true
secret-ids: | secret-ids: |
OSDS,arn:aws:secretsmanager:us-west-2:206735643321:secret:github-aws-sdk-osds-automation-gebs9n ${{ secrets.OSDS_PACKAGING_ROLE }}
- name: Run release-please - name: Run release-please
uses: googleapis/release-please-action@v4 uses: googleapis/release-please-action@v4