Skip to content

Create a Github Action to autoclose a PR (Conditions specified in description) #3707

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

Closed
amaank404 opened this issue Oct 24, 2020 · 1 comment

Comments

@amaank404
Copy link
Contributor

amaank404 commented Oct 24, 2020

The automated action should close a PR if:

  • the other github actions fail and are not fixed within 7 days from latest commit of the PR (This closes PR which fail test and are left alone for 7 days)[Exceptions include for draft pull request]
@dhruvmanila
Copy link
Member

I don't think so this is a valid condition. What we should do is to add a label and a comment about where to look for the errors in case of failure and encourage them to rectify their mistakes. This will all be done by the bot I'm creating currently and then the stale bot will come into place when the issue/pr remains inactive for 30 days. Unless and until the user asks for help, we don't need to interact with PR otherwise the number for stale bot will reset.

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

No branches or pull requests

2 participants