Skip to content

Commit 6558d59

Browse files
authored
chore: reduce scope of install perms (#4526)
1 parent b6bbf0d commit 6558d59

1 file changed

Lines changed: 9 additions & 7 deletions

File tree

.github/workflows/install.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,23 +3,25 @@ name: Install
33
on:
44
pull_request:
55
paths:
6-
- '.github/workflows/install.yml'
7-
- 'package.json'
8-
- 'scripts/**'
6+
- ".github/workflows/install.yml"
7+
- "package.json"
8+
- "scripts/**"
99
push:
1010
branches:
1111
- develop
1212
paths:
13-
- '.github/workflows/install.yml'
14-
- 'package.json'
15-
- 'scripts/**'
13+
- ".github/workflows/install.yml"
14+
- "package.json"
15+
- "scripts/**"
1616

1717
permissions:
18-
contents: write
18+
contents: read
1919

2020
jobs:
2121
pack:
2222
runs-on: ubuntu-latest
23+
permissions:
24+
contents: read
2325
steps:
2426
- uses: actions/checkout@v6
2527

0 commit comments

Comments
 (0)