mirror of
https://github.com/python/cpython.git
synced 2025-12-31 04:23:37 +00:00
[3.10] ci: add GitHub token permissions (GH-92999) (#98161)
* ci: add GitHub token permissions (#92999) (cherry picked from commitb96e20c1d9) * [3.10] ci: add GitHub token permissions (GH-92999). (cherry picked from commitb96e20c1d9) Co-authored-by: Varun Sharma <varunsh@stepsecurity.io> Co-authored-by: Varun Sharma <varunsh@stepsecurity.io>
This commit is contained in:
parent
de745870e6
commit
64ce2cba98
3 changed files with 9 additions and 0 deletions
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
|
|
@ -19,6 +19,9 @@ on:
|
|||
- 3.8
|
||||
- 3.7
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
check_source:
|
||||
name: 'Check for source changes'
|
||||
|
|
|
|||
3
.github/workflows/build_msi.yml
vendored
3
.github/workflows/build_msi.yml
vendored
|
|
@ -20,6 +20,9 @@ on:
|
|||
paths:
|
||||
- 'Tools/msi/**'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build_win32:
|
||||
name: 'Windows (x86) Installer'
|
||||
|
|
|
|||
3
.github/workflows/doc.yml
vendored
3
.github/workflows/doc.yml
vendored
|
|
@ -20,6 +20,9 @@ on:
|
|||
- 'Doc/**'
|
||||
- 'Misc/**'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build_doc:
|
||||
name: 'Docs'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue