Skip to content

Commit 5b31223

Browse files
authored
Merge branch 'main' into doc-colorsys-add-docstrings
2 parents 75c55a9 + 8a466fa commit 5b31223

File tree

87 files changed

+2028
-1908
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

87 files changed

+2028
-1908
lines changed

.github/workflows/add-issue-header.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ on:
1212
# Only ever run once
1313
- opened
1414

15-
permissions: {}
15+
permissions:
16+
contents: read
1617

1718
jobs:
1819
add-header:

.github/workflows/build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ on:
1111
- 'main'
1212
- '3.*'
1313

14-
permissions: {}
14+
permissions:
15+
contents: read
1516

1617
concurrency:
1718
# https://docs.github.com/en/actions/writing-workflows/workflow-syntax-for-github-actions#concurrency
@@ -612,6 +613,7 @@ jobs:
612613
needs.build-context.outputs.run-ci-fuzz == 'true'
613614
|| needs.build-context.outputs.run-ci-fuzz-stdlib == 'true'
614615
permissions:
616+
contents: read
615617
security-events: write
616618
strategy:
617619
fail-fast: false

.github/workflows/jit.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ on:
1515
paths: *paths
1616
workflow_dispatch:
1717

18-
permissions: {}
18+
permissions:
19+
contents: read
1920

2021
concurrency:
2122
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}

.github/workflows/lint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@ name: Lint
22

33
on: [push, pull_request, workflow_dispatch]
44

5-
permissions: {}
5+
permissions:
6+
contents: read
67

78
env:
89
FORCE_COLOR: 1

.github/workflows/mypy.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,8 @@ on:
3333
- "Tools/requirements-dev.txt"
3434
workflow_dispatch:
3535

36-
permissions: {}
36+
permissions:
37+
contents: read
3738

3839
env:
3940
PIP_DISABLE_PIP_VERSION_CHECK: 1

.github/workflows/new-bugs-announce-notifier.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@ on:
55
types:
66
- opened
77

8-
permissions: {}
8+
permissions:
9+
contents: read
910

1011
jobs:
1112
notify-new-bugs-announce:

.github/workflows/require-pr-label.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ on:
44
pull_request:
55
types: [opened, reopened, labeled, unlabeled, synchronize]
66

7-
permissions: {}
7+
permissions:
8+
contents: read
89

910
jobs:
1011
label-dnm:

.github/workflows/reusable-check-c-api-docs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: Reusable C API Docs Check
33
on:
44
workflow_call:
55

6-
permissions: {}
6+
permissions:
7+
contents: read
78

89
env:
910
FORCE_COLOR: 1

.github/workflows/reusable-check-html-ids.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ name: Reusable check HTML IDs
33
on:
44
workflow_call:
55

6-
permissions: {}
6+
permissions:
7+
contents: read
78

89
env:
910
FORCE_COLOR: 1

.github/workflows/reusable-cifuzz.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ on:
1313
required: true
1414
type: string
1515

16-
permissions: {}
16+
permissions:
17+
contents: read
1718

1819
jobs:
1920
cifuzz:

0 commit comments

Comments
 (0)