Skip to content

Commit

Permalink
Authenticate to AWS in test status check
Browse files Browse the repository at this point in the history
  • Loading branch information
willsawyerrrr committed Oct 12, 2024
1 parent bbb2fa6 commit 9ffc4f0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .github/workflows/status-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
branches:
- main

permissions:
contents: read
id-token: write

jobs:
npm:
runs-on: ubuntu-24.04
Expand Down Expand Up @@ -87,6 +91,13 @@ jobs:
echo '${{ toJson(vars) }}' \
| jq -r 'to_entries[] | "\(.key)=\(.value)"' >> .devcontainer/.env
echo 'GITHUB_ACTIONS=true' >> .devcontainer/.env
- uses: aws-actions/configure-aws-credentials@v4
with:
audience: sts.amazon.com
aws-region: ${{ vars.AWS_DEFAULT_REGION }}
role-to-assume: arn:aws:iam::${{ vars.AWS_ACCOUNT_ID }}:role/github-actions

- name: .NET Tests
uses: devcontainers/ci@v0.3.1900000349
with:
Expand Down

0 comments on commit 9ffc4f0

Please sign in to comment.