Skip to content

Commit 64ce2cb

Browse files
[3.10] ci: add GitHub token permissions (GH-92999) (#98161)
* ci: add GitHub token permissions (#92999) (cherry picked from commit b96e20c) * [3.10] ci: add GitHub token permissions (GH-92999). (cherry picked from commit b96e20c) Co-authored-by: Varun Sharma <[email protected]> Co-authored-by: Varun Sharma <[email protected]>
1 parent de74587 commit 64ce2cb

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@ on:
1919
- 3.8
2020
- 3.7
2121

22+
permissions:
23+
contents: read
24+
2225
jobs:
2326
check_source:
2427
name: 'Check for source changes'

.github/workflows/build_msi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ on:
2020
paths:
2121
- 'Tools/msi/**'
2222

23+
permissions:
24+
contents: read
25+
2326
jobs:
2427
build_win32:
2528
name: 'Windows (x86) Installer'

.github/workflows/doc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@ on:
2020
- 'Doc/**'
2121
- 'Misc/**'
2222

23+
permissions:
24+
contents: read
25+
2326
jobs:
2427
build_doc:
2528
name: 'Docs'

0 commit comments

Comments
 (0)