Skip to content

Commit

Permalink
ci: update permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mogusbi committed Nov 28, 2024
1 parent 85b4cf6 commit b41582d
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions .github/workflows/deploy-to-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ jobs:
STAGE: develop
YARN_ENABLE_IMMUTABLE_INSTALLS: false

permissions:
id-token: write
contents: read

steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
Expand Down Expand Up @@ -170,6 +174,10 @@ jobs:
STAGE: ${{ github.event.pull_request.number }}
YARN_ENABLE_IMMUTABLE_INSTALLS: false

permissions:
id-token: write
contents: read

steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
Expand Down Expand Up @@ -253,6 +261,10 @@ jobs:
STAGE: develop
YARN_ENABLE_IMMUTABLE_INSTALLS: false

permissions:
id-token: write
contents: read

steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
Expand Down Expand Up @@ -316,6 +328,10 @@ jobs:
STAGE: ${{ github.event.pull_request.number }}
YARN_ENABLE_IMMUTABLE_INSTALLS: false

permissions:
id-token: write
contents: read

steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
Expand Down Expand Up @@ -382,6 +398,10 @@ jobs:
STAGE: ${{ github.event.pull_request.number }}
YARN_ENABLE_IMMUTABLE_INSTALLS: false

permissions:
id-token: write
contents: read

steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
Expand Down Expand Up @@ -448,6 +468,10 @@ jobs:
STAGE: ${{ github.event.pull_request.number }}
YARN_ENABLE_IMMUTABLE_INSTALLS: false

permissions:
id-token: write
contents: read

steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
Expand Down Expand Up @@ -514,6 +538,10 @@ jobs:
STAGE: ${{ github.event.pull_request.number }}
YARN_ENABLE_IMMUTABLE_INSTALLS: false

permissions:
id-token: write
contents: read

steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
Expand Down Expand Up @@ -583,6 +611,10 @@ jobs:
STAGE: ${{ github.event.pull_request.number }}
YARN_ENABLE_IMMUTABLE_INSTALLS: false

permissions:
id-token: write
contents: read

steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
Expand Down Expand Up @@ -651,6 +683,10 @@ jobs:
STAGE: ${{ github.event.pull_request.number }}
YARN_ENABLE_IMMUTABLE_INSTALLS: false

permissions:
id-token: write
contents: read

steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
Expand Down Expand Up @@ -723,6 +759,10 @@ jobs:
STAGE: ${{ github.event.pull_request.number }}
YARN_ENABLE_IMMUTABLE_INSTALLS: false

permissions:
id-token: write
contents: read

steps:
- name: Checkout code
uses: actions/checkout@v4.2.2
Expand Down

0 comments on commit b41582d

Please sign in to comment.