8000 ci: add GitHub token permissions by varunsh-coder · Pull Request #92999 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

ci: add GitHub token permissions #92999

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
May 21, 2022
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
10000 Jump to file
Failed to load files.
Loading
Diff view
Diff view
ci: add GitHub token permissions
  • Loading branch information
varunsh-coder committed May 20, 2022
commit 6f9c0985aa2b1ebe28c1d33952dedb035bab11ce
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 @@ -24,6 +24,9 @@ on:
- 'Doc/**'
- 'Misc/**'

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 <github@mg.python.org>",
to: "new-bugs-announce@python.org",
Expand Down
0