Skip to content

Commit 7fdd789

Browse files
committed
[CI/CD] permission
1 parent 3fe31f1 commit 7fdd789

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/node.js.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,8 @@ jobs:
7373
call-publish:
7474
needs: [build, get-version]
7575
uses: ./.github/workflows/release.yml
76+
permissions:
77+
contents: write
7678
with:
7779
version: ${{ needs.get-version.outputs.version }}
7880

.github/workflows/release.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ on:
77
required: true
88
type: string
99

10-
permissions:
11-
contents: write
12-
1310
jobs:
1411
release:
1512
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)