Skip to content

Commit 5871781

Browse files
committed
fix(ci): misconfig permissions for GITHUB_TOKEN
1 parent 21348b6 commit 5871781

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

.github/workflows/main.yml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,16 @@ name: Build e release
66
jobs:
77
build:
88
runs-on: ubuntu-latest
9+
permissions:
10+
contents: read
11+
issues: write
12+
pull-requests: write
913
steps:
1014
- uses: actions/checkout@v3
1115
- uses: actions/setup-node@v3
1216
with:
13-
node-version: '16.x'
14-
registry-url: 'https://registry.npmjs.org'
17+
node-version: "16.x"
18+
registry-url: "https://registry.npmjs.org"
1519
- run: npm i
1620
- run: npm run build
1721
- run: npm ci

0 commit comments

Comments
 (0)