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

Add faster staling for issues with the Suggestion/ Discussion label. #75303

Merged
merged 1 commit into from
Aug 1, 2024

Conversation

kevingranade
Copy link
Member

Summary

None

Purpose of change

Based on #75151
This introduces faster staling for issues (or PRs, but I don't expect them to have that label) that have the "<Suggestion / Discussion>" label applied.

Describe the solution

Resurrecting the hour-of-the day handling from the previous alternating direction feature, I have the action process discussion issues for 6 hours and then the other issues for 6 hours. It does so by setting several of the action's parameters with the ternary operator matching against a list of hours.

Describe alternatives you've considered

Eh...

Testing

Have to run it in-repo.

Additional context

This is the first step in a mini-project to change how suggestion issues are used.
What I want to happen is if someone makes a kind of vague suggestion, it either results in one or more concrete issues, or is simply closed with the resolution being "well here's what was discussed" and people can read it later after its closure.

@github-actions github-actions bot added Code: Tooling Tooling that is not part of the main game but is part of the repo. json-styled JSON lint passed, label assigned by github actions astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions labels Jul 28, 2024
@Maleclypse Maleclypse merged commit c96fd30 into master Aug 1, 2024
22 checks passed
@Maleclypse Maleclypse deleted the faster-discussion-staling branch August 1, 2024 06:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
astyled astyled PR, label is assigned by github actions BasicBuildPassed This PR builds correctly, label assigned by github actions Code: Tooling Tooling that is not part of the main game but is part of the repo. json-styled JSON lint passed, label assigned by github actions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants