Skip to content

fix: allow checking out fork branches in auto-format - #4724

Open
kuramaSeige-OFC wants to merge 1 commit into
Syknapse:masterfrom
kuramaSeige-OFC:fix-auto-format-pr
Open

fix: allow checking out fork branches in auto-format#4724
kuramaSeige-OFC wants to merge 1 commit into
Syknapse:masterfrom
kuramaSeige-OFC:fix-auto-format-pr

Conversation

@kuramaSeige-OFC

@kuramaSeige-OFC kuramaSeige-OFC commented Aug 21, 2026

Copy link
Copy Markdown
Collaborator

What does this PR change?

Adds allow-unsafe-pr-checkout: true to the actions/checkout step in auto-format.yml.

Why?

Resolves #4722 by enabling the workflow to pull and auto-format fork branches under the pull_request_target runner context.

Type of change

  • Bug fix

Checklist

  • I've linked the relevant issue above (or explained why there isn't one)
  • My changes only touch the files relevant to this PR

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.

[BUG] Fix: Resolve checkout failure in auto-format workflow on fork PRs

1 participant