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

Re-block if a blocking issue is reopened. #8

Open
Levi-Lesches opened this issue Jul 19, 2022 · 0 comments
Open

Re-block if a blocking issue is reopened. #8

Levi-Lesches opened this issue Jul 19, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@Levi-Lesches
Copy link
Owner

Levi-Lesches commented Jul 19, 2022

If Issue 1 is blocked by Issue 2, and Issue 2 is closed, the workflow will unblock Issue 1. If Issue 2 is reopened, Issue 1 should be blocked once again. Then address this change in the README.

The main roadblock here is that the bot checks for currently blocked issues using the blocked label. If the label is not present on the issue (which it won't be if it was previously unblocked), it won't come up in the search. The bot needs some other way to keep track of previously blocked issues. Scanning each issue on every run is impractical for larger repositories, so perhaps an Artifact can maintain a list? I'll look into it

@Levi-Lesches Levi-Lesches added the enhancement New feature or request label Jul 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant