Repository navigation
ci: list open sibling sub-issues on pull requests, weekly issue hygiene report - #37
Merged
Merged
Conversation
…ne report Part of #27
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.
What
Two guards against an issue that stays open after its work is merged:
scripts/issue_hygiene.py siblings: before a pull request, lists the open sub-issues next to the ones it names.pr-governanceruns it and prints the list as a notice and in the job summary. It is a reminder, not a check.scripts/issue_hygiene.py reportand the weeklyhygieneworkflow: lists open issues that probably need a decision (all sub-issues closed, all siblings closed, named by a merged pull request without a closing keyword). The report is in the run summary, and the run fails when it lists something so that GitHub notifies the maintainer. Nothing is closed automatically and nothing is written to an issue.A word-overlap heuristic matching issue titles to merged pull requests was tried and dropped: 15 of 16 findings were false positives.
GOVERNANCE.mdgains the step "Before you open a pull request".Closes #36