ci: remove duplicate allow-unsafe-pr-checkout key in tend-review#6039
Merged
Conversation
The 0.1.7 workflow regen (#6033) added the canonical `allow-unsafe-pr-checkout: true` key, superseding the manual stopgap added in #6038. Both survived the merge, leaving a duplicate key in the checkout step's `with` section that actionlint rejects, failing the lint-megalinter job on main. Remove the redundant manual stopgap block, restoring the file to its canonical generated form. Co-Authored-By: Claude <noreply@anthropic.com>
This was referenced Jun 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The
lint-megalinterjob has been failing onmainsince #6033 merged, blockingcheck-ok-to-merge. The blocking error is fromactionlint:The
with:section of theactions/checkout@v7step containedallow-unsafe-pr-checkout: truetwice:Both commits merged the same day (#6038 at 13:22, #6033 at 21:53). The regen superseded the stopgap exactly as predicted, but the stopgap block survived into the merged file, leaving the duplicate key.
Solution
Remove the now-redundant manual stopgap block (the comment and duplicate key), keeping the canonical
allow-unsafe-pr-checkout: truefrom the 0.1.7 regen. This restorestend-review.yamlto its generated form — appropriate since the file header says "Do not edit this file directly — it will be overwritten on regeneration." Fork-PR checkout behavior is unchanged; the surviving key still opts in.Testing
actionlintflagged only the duplicate key as a blocking error; all other MegaLinter findings in the run were non-blocking.allow-unsafe-pr-checkoutnow appears exactly once across.github/workflows/.Automated fix for failed run