Skip to content

Commit

Permalink
Merge pull request hms-dbmi-cellenics#501 from biomage-org/move-to-oi…
Browse files Browse the repository at this point in the history
…dc-v2

Add write permissions for pull request and try moving to OIDC again
  • Loading branch information
ivababukova authored Oct 31, 2023
2 parents 050884f + d04685c commit bbda196
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,12 @@ on:
- opened
- synchronize
- reopened


permissions:
id-token: write
contents: read
pull-requests: write

jobs:
is-safe-to-run:
name: Sensitive jobs are safe to be run
Expand Down Expand Up @@ -219,10 +224,9 @@ jobs:
- id: setup-aws
name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/ci-role-api
aws-region: ${{ secrets.AWS_REGION }}

- id: login-ecr
Expand Down Expand Up @@ -275,10 +279,9 @@ jobs:

- id: setup-aws
name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v1
uses: aws-actions/configure-aws-credentials@v4
with:
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/ci-role-api
aws-region: ${{ secrets.AWS_REGION }}

- id: login-ecr
Expand Down

0 comments on commit bbda196

Please sign in to comment.