Skip to content

Commit

Permalink
Moving permissions under jobs to attempt to fix credentials issue.
Browse files Browse the repository at this point in the history
  • Loading branch information
musa-asad committed May 9, 2024
1 parent 78d4b09 commit 713b27e
Showing 1 changed file with 9 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,6 @@ concurrency:
group: ${{ github.workflow }}-${{ github.ref_name }}
cancel-in-progress: true

permissions:
id-token: write
contents: read

env:
TERRAFORM_AWS_ASSUME_ROLE: ${{ secrets.TERRAFORM_AWS_ASSUME_ROLE }}
AWS_DEFAULT_REGION: us-west-2
Expand All @@ -27,6 +23,9 @@ jobs:
HelmChartsIntegrationTest:
name: HelmChartsIntegrationTest
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
strategy:
fail-fast: false
steps:
Expand Down Expand Up @@ -83,6 +82,9 @@ jobs:
HelmChartsIntegrationTestWindows-2022:
name: HelmChartsIntegrationTestWindows-2022
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
strategy:
fail-fast: false
steps:
Expand Down Expand Up @@ -139,6 +141,9 @@ jobs:
HelmChartsIntegrationTestWindows-2019:
name: HelmChartsIntegrationTestWindows-2019
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
strategy:
fail-fast: false
steps:
Expand Down

0 comments on commit 713b27e

Please sign in to comment.