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 228c55e897a856b51daf153bd522ff74f5e9bb11
2 changes: 2 additions & 0 deletions .github/workflows/reusable-context.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@ on: # yamllint disable-line rule:truthy
description: Whether to run the CIFuzz job
value: ${{ jobs.compute-changes.outputs.run-ci-fuzz }} # bool

permissions: {}

jobs:
compute-changes:
name: Create context from changed files
Expand Down
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 @@ -15,6 +15,8 @@ on:
required: true
type: string

permissions: {}

env:
FORCE_COLOR: 1

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

permissions: {}

env:
FORCE_COLOR: 1

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 @@ -12,6 +12,8 @@ on:
type: boolean
default: false

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 @@ -13,6 +13,8 @@ on:
type: boolean
default: false

permissions: {}

env:
FORCE_COLOR: 1
IncludeUwp: >-
Expand Down
Loading