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
Add permissions: {} to all reusable workflows (#148114)
Add permissions: {} to all reusable workflows

(cherry picked from commit 1f36a51)
  • Loading branch information
ezio-melotti committed Apr 5, 2026
commit 86a61e45cff1de35f32c0dfccda56d3708604c03
3 changes: 1 addition & 2 deletions .github/workflows/reusable-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@ on:
workflow_call:
workflow_dispatch:

permissions:
contents: read
permissions: {}

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/reusable-macos.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ on:
type: boolean
default: false

permissions: {}

jobs:
build_macos:
name: 'build and test'
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/reusable-ubuntu.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
required: true
type: string

permissions: {}

env:
FORCE_COLOR: 1

Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/reusable-windows.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:
type: boolean
default: false

permissions: {}

jobs:
build_win32:
name: 'build and test (x86)'
Expand Down
Loading