Skip to content

Fix reusable workflow pin to match granted permissions#157

Merged
nunomaduro merged 2 commits into
masterfrom
fix/reusable-workflow-pin
Jun 4, 2026
Merged

Fix reusable workflow pin to match granted permissions#157
nunomaduro merged 2 commits into
masterfrom
fix/reusable-workflow-pin

Conversation

@nunomaduro
Copy link
Copy Markdown
Member

The pull requests and issues workflows call the shared laravel/.github reusable workflows pinned to dd86ce0.

At that commit the reusable workflows declare permissions: contents: read (and pull-requests: write for issues.yml), but the callers here only grant pull-requests: write / issues: write. A reusable workflow cannot request a permission the caller didn't grant, so every run fails at startup (startup_failure).

This bumps the pin to the current laravel/.github main SHA c265c45, which was trimmed to require only the scopes the callers already grant — resolving the failure.

@nunomaduro nunomaduro merged commit 6b6cf56 into master Jun 4, 2026
3 of 6 checks passed
@nunomaduro nunomaduro deleted the fix/reusable-workflow-pin branch June 4, 2026 09:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant