liam-deacon/Close Superseded PRs
Close PRs that have been superseded by a newer PR.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Maintainedlast commit Jan 12, 2026
- License
- MIT
Pinned Snippet
uses: liam-deacon/close-superseded-prs@a9607667e213278c0970a2f3674d47e7485b197a # v1.0tags can be moved; commit SHAs can't. why a SHA?
Inputs
| name | description | required | default |
|---|---|---|---|
| superseded_label | Label to apply to superseded pull requests. Leave blank to skip. | no | superseded |
| superseded_labels | Comma-separated labels to apply to superseded pull requests. Leave blank to skip. | no | "" |
| comment_template_path | Path to a comment template file in the caller repo. Leave blank to use the default comment. | no | "" |
| comment_footer | Footer text appended to the auto-comment. Leave blank to omit. | no | This comment was added automatically by the close-superseded-prs workflow. |
| keywords | Comma-separated keywords to detect superseded PRs. Leave blank to use defaults. | no | "" |
| mark_duplicate_comment | Add a "Duplicate of | no | false |
| ignored_branches | Comma-separated branch patterns to ignore (matches base or head). | no | "" |
Outputs
no outputs