Skip to content

Commit e90f631

Browse files
authored
Merge pull request #246 from Expensify/andrew-odic
Add permissions for OIDC in publish.yml
2 parents 9a81c9b + 43a2bed commit e90f631

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
push:
55
branches: [main]
66

7+
permissions:
8+
id-token: write # Required for OIDC: https://docs.npmjs.com/trusted-publishers
9+
contents: read
10+
711
# Ensure that only one instance of this workflow executes at a time.
812
# If multiple PRs are merged in quick succession, there will only ever be one publish workflow running and one pending.
913
concurrency: ${{ github.workflow }}

0 commit comments

Comments
 (0)