Skip to content

Commit 498cef7

Browse files
authored
Merge pull request #64 from glorylab/codex/fix-pub-publish-permissions
Allow pub.dev publish OIDC token
2 parents f1d7f95 + 78032bf commit 498cef7

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,11 @@ on:
88

99
jobs:
1010
publish:
11+
permissions:
12+
contents: read
13+
id-token: write
1114
uses: dart-lang/setup-dart/.github/workflows/publish.yml@v1
1215
with:
1316
# Specify the github actions deployment environment
1417
environment: pub.dev
15-
# working-directory: path/to/package/within/repository
18+
# working-directory: path/to/package/within/repository

0 commit comments

Comments
 (0)