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
8 changes: 7 additions & 1 deletion .github/workflows/ci-java.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ on:
type: string
default: ''

permissions: read-all
# Reusable workflows can only request permissions the *caller* has granted.
# `read-all` here breaks any caller that scopes permissions narrower than
# read-all (e.g. cycles-server's ci.yml grants only `contents: read`), causing
# `startup_failure` with: "workflow is requesting ... but is only allowed ...".
# Match the caller-friendly pattern: declare only what we actually need.
permissions:
contents: read

jobs:
test:
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/ci-python.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@ on:
type: boolean
default: true

permissions: read-all
# Reusable workflows can only request permissions the *caller* has granted.
# `read-all` here breaks any caller that scopes permissions narrower than
# read-all (e.g. cycles-server's ci.yml grants only `contents: read`), causing
# `startup_failure` with: "workflow is requesting ... but is only allowed ...".
# Match the caller-friendly pattern: declare only what we actually need.
permissions:
contents: read

jobs:
lint-and-test:
Expand Down