Skip to content

Commit

Permalink
[3.10] ci: add GitHub token permissions (GH-92999) (#98161)
Browse files Browse the repository at this point in the history
* 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 <varunsh@stepsecurity.io>

Co-authored-by: Varun Sharma <varunsh@stepsecurity.io>
  • Loading branch information
ezio-melotti and varunsh-coder authored Oct 10, 2022
1 parent de74587 commit 64ce2cb
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ on:
- 3.8
- 3.7

permissions:
contents: read

jobs:
check_source:
name: 'Check for source changes'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build_msi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ on:
paths:
- 'Tools/msi/**'

permissions:
contents: read

jobs:
build_win32:
name: 'Windows (x86) Installer'
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/doc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ on:
- 'Doc/**'
- 'Misc/**'

permissions:
contents: read

jobs:
build_doc:
name: 'Docs'
Expand Down

0 comments on commit 64ce2cb

Please sign in to comment.