mirror of
https://github.com/python/cpython.git
synced 2026-04-14 07:41:00 +00:00
Add `permissions: {}` to all reusable workflows (#148114)
Add permissions: {} to all reusable workflows
(cherry picked from commit 1f36a510a2)
This commit is contained in:
parent
abea3e2861
commit
ce0c2c9fab
9 changed files with 16 additions and 4 deletions
2
.github/workflows/reusable-cifuzz.yml
vendored
2
.github/workflows/reusable-cifuzz.yml
vendored
|
|
@ -13,6 +13,8 @@ on:
|
|||
required: true
|
||||
type: string
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
cifuzz:
|
||||
name: ${{ inputs.oss-fuzz-project-name }} (${{ inputs.sanitizer }})
|
||||
|
|
|
|||
2
.github/workflows/reusable-context.yml
vendored
2
.github/workflows/reusable-context.yml
vendored
|
|
@ -48,6 +48,8 @@ on: # yamllint disable-line rule:truthy
|
|||
description: Whether to run the Windows tests
|
||||
value: ${{ jobs.compute-changes.outputs.run-windows-tests }} # bool
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
compute-changes:
|
||||
name: Create context from changed files
|
||||
|
|
|
|||
3
.github/workflows/reusable-docs.yml
vendored
3
.github/workflows/reusable-docs.yml
vendored
|
|
@ -4,8 +4,7 @@ on:
|
|||
workflow_call:
|
||||
workflow_dispatch:
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
permissions: {}
|
||||
|
||||
concurrency:
|
||||
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
|
||||
|
|
|
|||
2
.github/workflows/reusable-macos.yml
vendored
2
.github/workflows/reusable-macos.yml
vendored
|
|
@ -12,6 +12,8 @@ on:
|
|||
required: true
|
||||
type: string
|
||||
|
||||
permissions: {}
|
||||
|
||||
env:
|
||||
FORCE_COLOR: 1
|
||||
|
||||
|
|
|
|||
2
.github/workflows/reusable-san.yml
vendored
2
.github/workflows/reusable-san.yml
vendored
|
|
@ -12,6 +12,8 @@ on:
|
|||
type: boolean
|
||||
default: false
|
||||
|
||||
permissions: {}
|
||||
|
||||
env:
|
||||
FORCE_COLOR: 1
|
||||
|
||||
|
|
|
|||
2
.github/workflows/reusable-ubuntu.yml
vendored
2
.github/workflows/reusable-ubuntu.yml
vendored
|
|
@ -9,6 +9,8 @@ on:
|
|||
type: boolean
|
||||
default: false
|
||||
|
||||
permissions: {}
|
||||
|
||||
env:
|
||||
FORCE_COLOR: 1
|
||||
|
||||
|
|
|
|||
2
.github/workflows/reusable-wasi.yml
vendored
2
.github/workflows/reusable-wasi.yml
vendored
|
|
@ -3,6 +3,8 @@ name: Reusable WASI
|
|||
on:
|
||||
workflow_call:
|
||||
|
||||
permissions: {}
|
||||
|
||||
env:
|
||||
FORCE_COLOR: 1
|
||||
|
||||
|
|
|
|||
3
.github/workflows/reusable-windows-msi.yml
vendored
3
.github/workflows/reusable-windows-msi.yml
vendored
|
|
@ -8,8 +8,7 @@ on:
|
|||
required: true
|
||||
type: string
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
permissions: {}
|
||||
|
||||
env:
|
||||
FORCE_COLOR: 1
|
||||
|
|
|
|||
2
.github/workflows/reusable-windows.yml
vendored
2
.github/workflows/reusable-windows.yml
vendored
|
|
@ -17,6 +17,8 @@ on:
|
|||
type: boolean
|
||||
default: false
|
||||
|
||||
permissions: {}
|
||||
|
||||
env:
|
||||
FORCE_COLOR: 1
|
||||
IncludeUwp: >-
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue