mirror of
https://github.com/typicode/json-server.git
synced 2026-03-13 09:35:37 +08:00
chore: update publish.yml to include permissions (#1679)
Add permissions for OIDC and content access in workflow
This commit is contained in:
3
.github/workflows/publish.yml
vendored
3
.github/workflows/publish.yml
vendored
@@ -2,6 +2,9 @@ name: Publish Package to npmjs
|
||||
on:
|
||||
release:
|
||||
types: [published]
|
||||
permissions:
|
||||
id-token: write # Required for OIDC
|
||||
contents: read
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user