mirror of https://github.com/python/cpython
ci: add GitHub token permissions (#92999)
This commit is contained in:
parent
7f835923c1
commit
b96e20c1d9
|
@ -22,6 +22,9 @@ on:
|
|||
- '3.8'
|
||||
- '3.7'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
check_source:
|
||||
name: 'Check for source changes'
|
||||
|
|
|
@ -23,6 +23,9 @@ on:
|
|||
paths:
|
||||
- 'Tools/msi/**'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build_win32:
|
||||
name: 'Windows (x86) Installer'
|
||||
|
|
|
@ -24,6 +24,9 @@ on:
|
|||
- 'Doc/**'
|
||||
- 'Misc/**'
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
|
||||
jobs:
|
||||
build_doc:
|
||||
name: 'Docs'
|
||||
|
|
|
@ -5,6 +5,9 @@ on:
|
|||
types:
|
||||
- opened
|
||||
|
||||
permissions:
|
||||
issues: read
|
||||
|
||||
jobs:
|
||||
notify-new-bugs-announce:
|
||||
runs-on: ubuntu-latest
|
||||
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue