Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add script and GitHub action to close orphaned PRs #952

Merged
merged 1 commit into from
Feb 28, 2025

Conversation

Fryguy
Copy link
Member

@Fryguy Fryguy commented Feb 28, 2025

This script automatically detects "orphaned" PRs in this repo, by looking at the source PR, and if it is closed, will close the cross-repo-test PR.

Additionally this adds a GitHub action to run it every Sunday.

@agrare Please review. Since this doesn't have the push or pull_request event trigger, I can't figure out how to run it before a PR. That said, I tested locally and in ACT (and ran it for real, so you'll notice a lot of closed PRs)

This script automatically detects "orphaned" PRs in this repo, by
looking at the source PR, and if it is closed, will close the
cross-repo-test PR.

Additionally this adds a GitHub action to run it every Sunday.
@agrare agrare merged commit f80ffa1 into ManageIQ:master Feb 28, 2025
1 check failed
@Fryguy Fryguy deleted the auto-close-prs branch February 28, 2025 22:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants