ci: add GitHub token permissions (#92999) · python/cpython@b96e20c · GitHub
Skip to content

Commit b96e20c

Browse files
ci: add GitHub token permissions (#92999)
1 parent 7f83592 commit b96e20c

4 files changed

Lines changed: 13 additions & 1 deletion

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 0 deletions

.github/workflows/build_msi.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@ on:
2323
paths:
2424
- 'Tools/msi/**'
2525

26+
permissions:
27+
contents: read
28+
2629
jobs:
2730
build_win32:
2831
name: 'Windows (x86) Installer'

.github/workflows/doc.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ on:
2424
- 'Doc/**'
2525
- 'Misc/**'
2626

27+
permissions:
28+
contents: read
29+
2730
jobs:
2831
build_doc:
2932
name: 'Docs'

.github/workflows/new-bugs-announce-notifier.yml

Lines changed: 4 additions & 1 deletion

0 commit comments

Comments
 (0)