Skip to content

Fix reusable workflow pin to match granted permissions#294

Merged
taylorotwell merged 2 commits into
4.xfrom
fix/reusable-workflow-pin
Jun 4, 2026
Merged

Fix reusable workflow pin to match granted permissions#294
taylorotwell merged 2 commits into
4.xfrom
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.

@taylorotwell taylorotwell merged commit 8938321 into 4.x Jun 4, 2026
20 checks passed
@taylorotwell taylorotwell deleted the fix/reusable-workflow-pin branch June 4, 2026 13:27
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.

2 participants