.github/workflows: add awaiting-user-response.yml#1842
Closed
ramosian-glider wants to merge 1 commit intomasterfrom
Closed
.github/workflows: add awaiting-user-response.yml#1842ramosian-glider wants to merge 1 commit intomasterfrom
ramosian-glider wants to merge 1 commit intomasterfrom
Conversation
Introduce the workflow to handle the AwaitingUserResponse label that will help clean up stale issues. The intended workflow is as follows: - when a presumably stale issue requires input from the user, it is manually labeled with AwaitingUserResponse; - if this issue is not updated within 90 days, it is closed automatically; - if it is updated, the label is automatically removed. For testing purposes, the update deadline is currently set to two hours (so please do not use AwaitingUserResponse yet!)
fmayer
reviewed
Jan 23, 2025
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Checkout code |
Contributor
There was a problem hiding this comment.
Why do we need to check out the code?
| repo, | ||
| state: 'open', | ||
| labels: 'AwaitingUserResponse', | ||
| per_page: 100 |
Contributor
There was a problem hiding this comment.
what does the per_page do? does this limit us to 100?
| ); | ||
|
|
||
| const labelAppliedAt = new Date(latestLabelEvent.created_at); | ||
| // TODO(glider): use diffDays instead of diffHours once we finish testing. |
| owner, | ||
| repo, | ||
| issue_number: issue.number, | ||
| body: 'This issue has been automatically closed as it has been marked "AwaitingUserResponse" for more than 90 days with no activity.' |
Contributor
There was a problem hiding this comment.
should we add some comment to warn that this is about to happen? or explicitly say "if you are still experiencing this, reopen the bug" or something.
Contributor
|
Do we want to to move to llvm-project? |
|
Thanks |
Member
Author
|
Gonna close this, as we archived the project. |
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.
Introduce the workflow to handle the AwaitingUserResponse label that will help clean up stale issues.
The intended workflow is as follows:
For testing purposes, the update deadline is currently set to two hours (so please do not use AwaitingUserResponse yet!)