Skip to content

Commit 792813e

Browse files
committed
Add permissions for id-token and enable OIDC usage in CI test workflow
1 parent f7b6121 commit 792813e

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,8 @@ jobs:
4141
test:
4242
name: Unit test
4343
runs-on: ubuntu-22.04
44+
permissions:
45+
id-token: write
4446
steps:
4547
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
4648
- uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4.1.0
@@ -51,6 +53,8 @@ jobs:
5153
- run: pnpm install
5254
- run: pnpm run test:ci
5355
- uses: codecov/codecov-action@5a1091511ad55cbe89839c7260b706298ca349f7 #v5.5.1
56+
with:
57+
use_oidc: true
5458

5559
lint:
5660
name: Lint

0 commit comments

Comments
 (0)