Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
ci: add GitHub token permissions (GH-92999)
(cherry picked from commit b96e20c)

Co-authored-by: Varun Sharma <[email protected]>
  • Loading branch information
varunsh-coder authored and miss-islington committed Oct 10, 2022
commit 5ad81c07eb5deacadb10e66a409f80f91e749150
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,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 @@ -23,6 +23,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 @@ -25,6 +25,9 @@ on:
- 'Misc/**'
- '.github/workflows/doc.yml'

permissions:
contents: read

jobs:
build_doc:
name: 'Docs'
Expand Down
5 changes: 4 additions & 1 deletion .github/workflows/new-bugs-announce-notifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
types:
- opened

permissions:
issues: read

jobs:
notify-new-bugs-announce:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -39,7 +42,7 @@ jobs:
assignee : issue.data.assignees.map(assignee => { return assignee.login }),
body : issue.data.body
};

const data = {
from: "CPython Issues <[email protected]>",
to: "[email protected]",
Expand Down