Skip to content

Commit

Permalink
ci: add write permission
Browse files Browse the repository at this point in the history
  • Loading branch information
YunYouJun committed Jan 27, 2024
1 parent 9867c8c commit 044fe68
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
tags:
- 'v*'

permissions:
contents: write
id-token: write

jobs:
release:
runs-on: ubuntu-latest
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,10 @@
"url": "https://www.yunyoujun.cn"
},
"license": "MIT",
"repository": "https://github.com/YunYouJun/nnrm",
"repository": {
"type": "git",
"url": "https://github.com/YunYouJun/nnrm"
},
"keywords": [
"npm",
"registry",
Expand Down

0 comments on commit 044fe68

Please sign in to comment.