Skip to content

Commit 8b8ca0d

Browse files
authored
chore: GH workflow permissions (#59)
2 parents 3147105 + 1ec058b commit 8b8ca0d

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/build_docs.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ on:
88
env:
99
PYTHON_VERSION_DEFAULT: "3.10"
1010

11+
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token
12+
permissions: {}
13+
1114
jobs:
1215
docs_json:
1316
runs-on: ubuntu-latest

.github/workflows/validate_tools_json.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@ on:
77
paths: [ "tools.json", "tools.schema.json", ".github/workflows/validate_tools_json.yml" ]
88
workflow_dispatch:
99

10-
permissions: read-all
10+
# https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/controlling-permissions-for-github_token
11+
permissions: {}
1112

1213
jobs:
1314
validate:

0 commit comments

Comments
 (0)