You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We have a github workflow that searches for broken links in the repository and creates an issue that lists all broken links found. It runs approximately every 2 weeks.
This results that every 2 weeks an updated issue gets created, however, the old ones still sit in Issues list.
Suggested Design
I think it would be nice to automatically close them after an updated report is submitted, or after some time since the creation of this issue has elapses (15 days, for example). Not sure about the best way to go with here.
Acceptance Criteria
Broken Links Detected issues do not get piled up.
The text was updated successfully, but these errors were encountered:
Hmm, i think it's reasonable to close the issues every 15 days / every day we generate a new broken link issue.
Not sure if using the stale action is overkill (since I'm not sure how much processing and build minutes it'll cost), or if we'd just want to run a small sh.
But going the stale action route, we could probably add an extra step in the existing broken link workflow to go like:
Close any stale issues with the broken link bot label (or just any unique label for them) and write message that if broken links exist there's a new issue for it. any-of-labels check, stale bot message field
Create a new issue, if any, with the above unique label
I created a PR for this, but its untested and would likely need to run the workflow/action to make sure it works as expected. It should theoretically work, but I couldn't find examples in the stale action documentation to automatically close issues...
Background
We have a github workflow that searches for broken links in the repository and creates an issue that lists all broken links found. It runs approximately every 2 weeks.
This results that every 2 weeks an updated issue gets created, however, the old ones still sit in Issues list.
Suggested Design
I think it would be nice to automatically close them after an updated report is submitted, or after some time since the creation of this issue has elapses (15 days, for example). Not sure about the best way to go with here.
Acceptance Criteria
Broken Links Detected
issues do not get piled up.The text was updated successfully, but these errors were encountered: