Skip to content

Commit cfac908

Browse files
chore: Adjust permissions for Github token (box/box-codegen#885) (#1573)
1 parent 8080f9e commit cfac908

File tree

6 files changed

+16
-1
lines changed

6 files changed

+16
-1
lines changed

.codegen.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ "engineHash": "87a3288", "specHash": "8b51a89", "version": "10.1.0" }
1+
{ "engineHash": "2ac72c4", "specHash": "8b51a89", "version": "10.1.0" }

.github/workflows/autoupdate-pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ on:
55
- main
66
- sdk-gen
77

8+
permissions: {}
9+
810
jobs:
911
update_pull_requests:
1012
runs-on: ubuntu-latest

.github/workflows/build.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ on:
33
pull_request:
44
branches:
55
- sdk-gen
6+
7+
permissions:
8+
contents: read
9+
610
jobs:
711
build-and-test:
812
runs-on: ubuntu-latest

.github/workflows/notify-changelog.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ on:
1010
types:
1111
- released
1212

13+
permissions: {}
14+
1315
jobs:
1416
notify:
1517
# This job can run on the latest Ubuntu

.github/workflows/semantic-pr.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ on:
99
branches:
1010
- sdk-gen
1111

12+
permissions:
13+
contents: read
14+
1215
jobs:
1316
main:
1417
name: Validate semantic PR title

.github/workflows/spell-check-lint.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ on:
44
types: [opened, synchronize, edited]
55
branches:
66
- sdk-gen
7+
8+
permissions:
9+
contents: read
10+
711
jobs:
812
spellcheck-request-title:
913
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)