From: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com> Date: Sun, 5 Apr 2026 22:11:51 +0000 (+0300) Subject: [3.12] gh-145098: Use `macos-15-intel` instead of unstable `macos-26-intel` in `... X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=2096c5dc12de7d7ad7a09dcfa081d06c6a70e789;p=thirdparty%2FPython%2Fcpython.git [3.12] gh-145098: Use `macos-15-intel` instead of unstable `macos-26-intel` in `{jit,tail-call}.yml` (GH-148126) (#148137) (cherry picked from commit bce96a181350f348560fe0623361f39a6d5c6361) Co-authored-by: Stan Ulbrych --- diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 172d1ed96d3d..d76d0315c001 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -11,8 +11,7 @@ on: - 'main' - '3.*' -permissions: - contents: read +permissions: {} concurrency: group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}-reusable @@ -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: diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index 201e94a888af..ad6bd7ef696f 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -2,8 +2,7 @@ name: Lint on: [push, pull_request, workflow_dispatch] -permissions: - contents: read +permissions: {} env: FORCE_COLOR: 1 diff --git a/.github/workflows/mypy.yml b/.github/workflows/mypy.yml index cfb8d5c60d5c..ef8d12b2a0fe 100644 --- a/.github/workflows/mypy.yml +++ b/.github/workflows/mypy.yml @@ -12,8 +12,7 @@ on: - ".github/workflows/mypy.yml" workflow_dispatch: -permissions: - contents: read +permissions: {} env: PIP_DISABLE_PIP_VERSION_CHECK: 1 diff --git a/.github/workflows/new-bugs-announce-notifier.yml b/.github/workflows/new-bugs-announce-notifier.yml index 4976d672663c..17e697926dab 100644 --- a/.github/workflows/new-bugs-announce-notifier.yml +++ b/.github/workflows/new-bugs-announce-notifier.yml @@ -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 diff --git a/.github/workflows/require-pr-label.yml b/.github/workflows/require-pr-label.yml index a41782da0e4a..ebc5699d4908 100644 --- a/.github/workflows/require-pr-label.yml +++ b/.github/workflows/require-pr-label.yml @@ -4,6 +4,8 @@ on: pull_request: types: [opened, reopened, labeled, unlabeled, synchronize] +permissions: {} + jobs: label: name: DO-NOT-MERGE / unresolved review diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml index 524ec47baf2e..164882460d66 100644 --- a/.github/workflows/stale.yml +++ b/.github/workflows/stale.yml @@ -4,6 +4,8 @@ on: schedule: - cron: "0 0 * * *" +permissions: {} + jobs: stale: if: github.repository_owner == 'python' diff --git a/.github/workflows/verify-ensurepip-wheels.yml b/.github/workflows/verify-ensurepip-wheels.yml index cb40f6abc0b3..4ac25bc909b1 100644 --- a/.github/workflows/verify-ensurepip-wheels.yml +++ b/.github/workflows/verify-ensurepip-wheels.yml @@ -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 }} diff --git a/.github/workflows/verify-expat.yml b/.github/workflows/verify-expat.yml index 472a11db2da5..e193dfa4603e 100644 --- a/.github/workflows/verify-expat.yml +++ b/.github/workflows/verify-expat.yml @@ -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 }}