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
11 changes: 5 additions & 6 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ on:
- 'main'
- '3.*'

permissions:
contents: read
permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-reusable
Expand Down Expand Up @@ -224,16 +223,16 @@ jobs:
strategy:
fail-fast: false
matrix:
# macos-26 is Apple Silicon, macos-26-intel is Intel.
# macos-26-intel only runs tests against the GIL-enabled CPython.
# macos-26 is Apple Silicon, macos-15-intel is Intel.
# macos-15-intel only runs tests against the GIL-enabled CPython.
os:
- macos-26
- macos-26-intel
- macos-15-intel
free-threading:
- false
# - true
exclude:
- os: macos-26-intel
- os: macos-15-intel
free-threading: true
uses: ./.github/workflows/reusable-macos.yml
with:
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ name: Lint

on: [push, pull_request, workflow_dispatch]

permissions:
contents: read
permissions: {}

env:
FORCE_COLOR: 1
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/mypy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,7 @@ on:
- ".github/workflows/mypy.yml"
workflow_dispatch:

permissions:
contents: read
permissions: {}

env:
PIP_DISABLE_PIP_VERSION_CHECK: 1
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/new-bugs-announce-notifier.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,13 @@ on:
types:
- opened

permissions:
issues: read
permissions: {}

jobs:
notify-new-bugs-announce:
runs-on: ubuntu-latest
permissions:
issues: read
timeout-minutes: 10
steps:
- uses: actions/setup-node@53b83947a5a98c8d113130e565377fae1a50d02f # v6.3.0
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/require-pr-label.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
pull_request:
types: [opened, reopened, labeled, unlabeled, synchronize]

permissions: {}

jobs:
label:
name: DO-NOT-MERGE / unresolved review
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/stale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ on:
schedule:
- cron: "0 0 * * *"

permissions: {}

jobs:
stale:
if: github.repository_owner == 'python'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/verify-ensurepip-wheels.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ on:
- '.github/workflows/verify-ensurepip-wheels.yml'
- 'Tools/build/verify_ensurepip_wheels.py'

permissions:
contents: read
permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/verify-expat.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ on:
- 'Modules/expat/**'
- '.github/workflows/verify-expat.yml'

permissions:
contents: read
permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down
Loading