-
Notifications
You must be signed in to change notification settings - Fork 685
Create stale.yml workflow to label stale PRs #13565
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
Conversation
🔗 Helpful Links🧪 See artifacts and rendered test results at hud.pytorch.org/pr/pytorch/executorch/13565
Note: Links to docs will display an error until the docs builds have been completed. ❌ 1 New Failure, 1 PendingAs of commit 743c01e with merge base 335de46 ( NEW FAILURE - The following job has failed:
This comment was automatically generated by Dr. CI and updates every 15 minutes. |
This PR needs a
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks. Looks good to me.
@nil-is-all Actually, I have one thought. Can you change the cron schedule to run daily? That way, if it errors out, it won't spam. Once we know it's running successfully, we can bump it up to hourly. |
Done, changed it to hourly now. |
Thanks. Thinking through it, out of an abundance of caution, can you also comment out the sections that update PRs? That will let us validate the behavior before it starts actually labeling or closing issues. I'll check the logs for the workflow run, and once it looks good, we can put up another PR to enable the actual behavior. Specifically, lines 96-101, 107-112, and 115-120. It looks like you can either prefix each line with |
The behavior is: - If a PR is not labeled stale, after 60 days inactivity label the PR as stale and comment about it. - If a PR is labeled stale, after 30 days inactivity close the PR. - `high priority` and `no-stale` PRs are exempt.
The behavior is: - If a PR is not labeled stale, after 60 days inactivity label the PR as stale and comment about it. - If a PR is labeled stale, after 30 days inactivity close the PR. - `high priority` and `no-stale` PRs are exempt.
The behavior is:
high priority
andno-stale
PRs are exempt.