Skip to content

Commit a3b6aae

Browse files
committed
Add id token to main CI for TestPyPi
1 parent c68064f commit a3b6aae

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
name: CI
2-
permissions:
3-
contents: read
42
on:
53
push:
64
branches:
75
- main
86
pull_request:
97
workflow_dispatch:
108

9+
permissions:
10+
contents: read
11+
id-token: write
12+
1113
concurrency:
1214
# Cancel in-progress jobs for PRs only
1315
group: ${{ github.workflow }}-${{ github.ref == 'refs/heads/main' && github.sha || github.ref }}

0 commit comments

Comments
 (0)