]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.12] gh-145098: Use `macos-15-intel` instead of unstable `macos-26-intel` in `...
authorHugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Sun, 5 Apr 2026 22:11:51 +0000 (01:11 +0300)
committerGitHub <noreply@github.com>
Sun, 5 Apr 2026 22:11:51 +0000 (01:11 +0300)
(cherry picked from commit bce96a181350f348560fe0623361f39a6d5c6361)

Co-authored-by: Stan Ulbrych <stan@python.org>
.github/workflows/build.yml
.github/workflows/lint.yml
.github/workflows/mypy.yml
.github/workflows/new-bugs-announce-notifier.yml
.github/workflows/require-pr-label.yml
.github/workflows/stale.yml
.github/workflows/verify-ensurepip-wheels.yml
.github/workflows/verify-expat.yml

index 172d1ed96d3d9a02a5ff2080d13972cf5ef2e967..d76d0315c0011aa5f90e481b4155cffa11fb52bf 100644 (file)
@@ -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:
index 201e94a888af2765537f295aaee7ad29da3b1e07..ad6bd7ef696f322876811b274cb2c29ef8c4d80a 100644 (file)
@@ -2,8 +2,7 @@ name: Lint
 
 on: [push, pull_request, workflow_dispatch]
 
-permissions:
-  contents: read
+permissions: {}
 
 env:
   FORCE_COLOR: 1
index cfb8d5c60d5ce1c35f17b3d6358a91790dadbbaa..ef8d12b2a0fe95b894e6fb9357127afb5548df4a 100644 (file)
@@ -12,8 +12,7 @@ on:
       - ".github/workflows/mypy.yml"
   workflow_dispatch:
 
-permissions:
-  contents: read
+permissions: {}
 
 env:
   PIP_DISABLE_PIP_VERSION_CHECK: 1
index 4976d672663c9673b7575e9a65791343e507a400..17e697926dabe2a9d1f3ab10afa355abcf3e93f7 100644 (file)
@@ -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
index a41782da0e4a55b92e550309e282c8977fc46c8e..ebc5699d490841767d916b31bd2ddc62110e0d43 100644 (file)
@@ -4,6 +4,8 @@ on:
   pull_request:
     types: [opened, reopened, labeled, unlabeled, synchronize]
 
+permissions: {}
+
 jobs:
   label:
     name: DO-NOT-MERGE / unresolved review
index 524ec47baf2e8b88edf5d34b87b171d12b27af19..164882460d66d825600e8951f785256754e1d5e4 100644 (file)
@@ -4,6 +4,8 @@ on:
   schedule:
   - cron: "0 0 * * *"
 
+permissions: {}
+
 jobs:
   stale:
     if: github.repository_owner == 'python'
index cb40f6abc0b3b751a60f6e328ba4d1a2eb300d52..4ac25bc909b13f9ccb38b86fe03310d41f06df32 100644 (file)
@@ -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 }}
index 472a11db2da5fbf9dd3a6822bc2825c0f3c3a096..e193dfa4603e8accc554dc3b195c860835ca65ae 100644 (file)
@@ -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 }}