[3.10] ci: add GitHub token permissions (GH-92999) (#98161)

* ci: add GitHub token permissions (#92999)

(cherry picked from commit b96e20c1d9)

* [3.10] ci: add GitHub token permissions (GH-92999).
(cherry picked from commit b96e20c1d9)

Co-authored-by: Varun Sharma <varunsh@stepsecurity.io>

Co-authored-by: Varun Sharma <varunsh@stepsecurity.io>
This commit is contained in:
Ezio Melotti 2022-10-10 21:46:09 +02:00 committed by GitHub
parent de745870e6
commit 64ce2cba98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 9 additions and 0 deletions

View file

@ -19,6 +19,9 @@ on:
- 3.8
- 3.7
permissions:
contents: read
jobs:
check_source:
name: 'Check for source changes'

View file

@ -20,6 +20,9 @@ on:
paths:
- 'Tools/msi/**'
permissions:
contents: read
jobs:
build_win32:
name: 'Windows (x86) Installer'

View file

@ -20,6 +20,9 @@ on:
- 'Doc/**'
- 'Misc/**'
permissions:
contents: read
jobs:
build_doc:
name: 'Docs'