https://github.com/python/cpython/commit/a3347aaab90ce7f71d77038fdc18040a99aaec40
commit: a3347aaab90ce7f71d77038fdc18040a99aaec40
branch: 3.11
author: Ezio Melotti <[email protected]>
committer: hugovk <[email protected]>
date: 2026-04-05T17:41:39+03:00
summary:

[3.11] Add `permissions: {}` to all reusable workflows (#148114) (#148123)

files:
M .github/workflows/reusable-docs.yml
M .github/workflows/reusable-macos.yml
M .github/workflows/reusable-ubuntu.yml
M .github/workflows/reusable-windows.yml

diff --git a/.github/workflows/reusable-docs.yml 
b/.github/workflows/reusable-docs.yml
index e99cc1fa5f217d..71ba1d97a56370 100644
--- a/.github/workflows/reusable-docs.yml
+++ b/.github/workflows/reusable-docs.yml
@@ -4,8 +4,7 @@ on:
   workflow_call:
   workflow_dispatch:
 
-permissions:
-  contents: read
+permissions: {}
 
 concurrency:
   group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
diff --git a/.github/workflows/reusable-macos.yml 
b/.github/workflows/reusable-macos.yml
index c4cbe180430f16..d3e9defd1109aa 100644
--- a/.github/workflows/reusable-macos.yml
+++ b/.github/workflows/reusable-macos.yml
@@ -9,6 +9,8 @@ on:
         type: boolean
         default: false
 
+permissions: {}
+
 jobs:
   build_macos:
     name: 'build and test'
diff --git a/.github/workflows/reusable-ubuntu.yml 
b/.github/workflows/reusable-ubuntu.yml
index bc62521b6b914b..c836ff59b06074 100644
--- a/.github/workflows/reusable-ubuntu.yml
+++ b/.github/workflows/reusable-ubuntu.yml
@@ -8,6 +8,8 @@ on:
         required: true
         type: string
 
+permissions: {}
+
 env:
   FORCE_COLOR: 1
 
diff --git a/.github/workflows/reusable-windows.yml 
b/.github/workflows/reusable-windows.yml
index 851f501dbf42c4..fad82009fb5166 100644
--- a/.github/workflows/reusable-windows.yml
+++ b/.github/workflows/reusable-windows.yml
@@ -6,6 +6,8 @@ on:
         type: boolean
         default: false
 
+permissions: {}
+
 jobs:
   build_win32:
     name: 'build and test (x86)'

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to