Skip to content

Commit

Permalink
Merge pull request hms-dbmi-cellenics#499 from biomage-org/revert-oid…
Browse files Browse the repository at this point in the history
…c-changes

Revert oidc changes, because they are breaking the mattallty/jest-github-action step
  • Loading branch information
ivababukova authored Oct 31, 2023
2 parents 7953903 + 18c27dd commit 050884f
Showing 1 changed file with 7 additions and 9 deletions.
16 changes: 7 additions & 9 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ on:
- opened
- synchronize
- reopened

permissions:
id-token: write
contents: read

jobs:
is-safe-to-run:
Expand Down Expand Up @@ -121,7 +117,7 @@ jobs:
uses: mattallty/jest-github-action@v1
env:
AWS_DEFAULT_REGION: ${{ secrets.AWS_REGION }}
GITHUB_TOKEN: ${{ secrets.API_TOKEN_GITHUB }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
test-command: "npm run coverage"
coverage-comment: false
Expand Down Expand Up @@ -223,9 +219,10 @@ jobs:
- id: setup-aws
name: Configure AWS credentials
uses: aws-actions/configure-aws-credentials@v2
uses: aws-actions/configure-aws-credentials@v1
with:
role-to-assume: arn:aws:iam::${{ secrets.AWS_ACCOUNT_ID }}:role/ci-role-api
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
aws-region: ${{ secrets.AWS_REGION }}

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

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

- id: login-ecr
Expand Down

0 comments on commit 050884f

Please sign in to comment.