Skip to content

Commit 87ba8fb

Browse files
committed
build: adjusted workflow permissions
1 parent 6287ab4 commit 87ba8fb

File tree

2 files changed

+2
-14
lines changed

2 files changed

+2
-14
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,7 @@ name: build
33

44
on: [ push, pull_request ]
55

6-
permissions:
7-
actions: write
8-
checks: write
9-
contents: read
10-
deployments: read
11-
issues: write
12-
discussions: write
13-
packages: read
14-
pages: write
15-
pull-requests: write
16-
security-events: write
17-
statuses: write
18-
6+
permissions: read-all
197
jobs:
208
build:
219
runs-on: ubuntu-latest

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
env:
99
GH_TOKEN: ${{ secrets.GH_TOKEN_COMMIT }}
10-
10+
permissions: read-all
1111
jobs:
1212
notify-release:
1313
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)