Skip to content

Commit c8ba51d

Browse files
Fix EVENT_release.ym workflow (#1113)
1 parent a9605d8 commit c8ba51d

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

.github/workflows/EVENT_release.yml

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,17 @@ jobs:
6363
uses: ./.github/workflows/JOB_tests.yml
6464

6565
run_e2e:
66+
permissions:
67+
id-token: write
68+
contents: read
6669
uses: ./.github/workflows/JOB_e2e.yml
6770
secrets:
6871
E2E_API_KEY: ${{ secrets.E2E_API_KEY }}
6972
E2E_ENVIRONMENT: ${{ secrets.E2E_ENVIRONMENT }}
7073
E2E_TEAM: ${{ secrets.E2E_TEAM }}
74+
E2E_VIDEO_AWS_ROLE: ${{ secrets.E2E_VIDEO_AWS_ROLE }}
75+
E2E_STORAGE_NAME: ${{ secrets.E2E_STORAGE_NAME }}
76+
E2E_STORAGE_REGION: ${{ secrets.E2E_STORAGE_REGION }}
7177

7278
release:
7379
needs: [run_tests, run_e2e]
@@ -117,7 +123,7 @@ jobs:
117123
run: |
118124
sudo rm -rf /usr/local/lib/android # will release about 10 GB if you don't need Android
119125
sudo rm -rf /usr/share/dotnet # will release about 20GB if you don't need .NET
120-
126+
121127
- name: Harden Runner
122128
uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
123129
with:
@@ -173,4 +179,4 @@ jobs:
173179
*An error occurred performing release, and you may need to release manually.*
174180
175181
:link:
176-
- ${{ github.event.release.html_url }}
182+
- ${{ github.event.release.html_url }}

0 commit comments

Comments
 (0)