zed/.github/workflows
Lena ef50ad95b5
Automate cleanup of unsigned and stale draft pull requests (#62936)
- Notify the author when their PR has been in draft state with no new
commits for three weeks
- Close the draft PRs that didn't get updated after one more week
- Re-try the cla-bot check on PRs that are still unsigned after a week
- Close the PRs that are still unsigned after the re-try

## Testing

It works on my machine™

```
python script/github-pr-cleanup.py --dry-run
Checking 713 open pull requests
Dry-run mode: no comments or closures will be made
PR #60885: asking the CLA bot to check again
  Would comment on PR #60885:
@cla-bot check

PR #61625: asking the CLA bot to check again
  Would comment on PR #61625:
@cla-bot check

PR #57239: warning about a stale draft
  Would comment on PR #57239:
<!-- zed-community-automation:stale-draft-warning -->

This pull request has remained in draft without new commits for three weeks.
If it remains a draft without new commits for another week, it will be closed
automatically.

PR #57241: warning about a stale draft
  Would comment on PR #57241:
<!-- zed-community-automation:stale-draft-warning -->

This pull request has remained in draft without new commits for three weeks.
If it remains a draft without new commits for another week, it will be closed
automatically.

PR #61461: warning about a stale draft
  Would comment on PR #61461:
<!-- zed-community-automation:stale-draft-warning -->

This pull request has remained in draft without new commits for three weeks.
If it remains a draft without new commits for another week, it will be closed
automatically.

PR #61722: warning about a stale draft
  Would comment on PR #61722:
<!-- zed-community-automation:stale-draft-warning -->

This pull request has remained in draft without new commits for three weeks.
If it remains a draft without new commits for another week, it will be closed
automatically.

PR #61808: warning about a stale draft
  Would comment on PR #61808:
<!-- zed-community-automation:stale-draft-warning -->

This pull request has remained in draft without new commits for three weeks.
If it remains a draft without new commits for another week, it will be closed
automatically.

PR #61809: warning about a stale draft
  Would comment on PR #61809:
<!-- zed-community-automation:stale-draft-warning -->

This pull request has remained in draft without new commits for three weeks.
If it remains a draft without new commits for another week, it will be closed
automatically.

Cleanup complete: 0 unsigned PR closures, 6 draft warnings, 0 draft closures
```



Release Notes:

- N/A
2026-08-21 07:53:28 +00:00
..
add_commented_closed_issue_to_project.yml ci: Configure more steps more explicitly (#61401) 2026-07-23 11:25:56 +00:00
after_release.yml ci: Set and enforce more default permissions (#60222) 2026-07-06 16:02:54 +00:00
autofix_pr.yml Switch from cargo-machete to cargo-shear (#62643) 2026-08-20 10:08:48 +00:00
bump_collab_staging.yml ci: Set and enforce more default permissions (#60222) 2026-07-06 16:02:54 +00:00
bump_patch_version.yml ci: Grant version bump token more permissions (#61709) 2026-07-27 10:28:32 +00:00
bump_zed_version.yml ci: Ensure assignees can be set for generated PRs (#62418) 2026-08-10 09:20:15 +00:00
catch_blank_issues.yml ci: Configure more steps more explicitly (#61401) 2026-07-23 11:25:56 +00:00
cherry_pick.yml ci: Configure more steps more explicitly (#61401) 2026-07-23 11:25:56 +00:00
comment_on_potential_duplicate_issues.yml ci: Restore member read permission for community workflows (#62755) 2026-08-17 12:23:47 +00:00
community_close_stale_issues.yml ci: Set and enforce more default permissions (#60222) 2026-07-06 16:02:54 +00:00
community_pr_board.yml ci: Restore member read permission for community workflows (#62755) 2026-08-17 12:23:47 +00:00
community_pr_board_refresh.yml ci: Configure more steps more explicitly (#61401) 2026-07-23 11:25:56 +00:00
community_pr_cleanup.yml Automate cleanup of unsigned and stale draft pull requests (#62936) 2026-08-21 07:53:28 +00:00
community_update_all_top_ranking_issues.yml ci: Set and enforce more default permissions (#60222) 2026-07-06 16:02:54 +00:00
community_update_weekly_top_ranking_issues.yml ci: Set and enforce more default permissions (#60222) 2026-07-06 16:02:54 +00:00
compliance_check.yml ci: Set and enforce more default permissions (#60222) 2026-07-06 16:02:54 +00:00
congrats.yml ci: Set and enforce more default permissions (#60222) 2026-07-06 16:02:54 +00:00
danger.yml ci: Configure more steps more explicitly (#61401) 2026-07-23 11:25:56 +00:00
deploy_collab.yml ci: Configure more steps more explicitly (#61401) 2026-07-23 11:25:56 +00:00
deploy_docs.yml ci: Set and enforce more default permissions (#60222) 2026-07-06 16:02:54 +00:00
deploy_nightly_docs.yml ci: Set and enforce more default permissions (#60222) 2026-07-06 16:02:54 +00:00
docs_suggestions.yml ci: Configure more steps more explicitly (#61401) 2026-07-23 11:25:56 +00:00
extension_auto_bump.yml ci: Set and enforce more default permissions (#60222) 2026-07-06 16:02:54 +00:00
extension_bump.yml ci: Ensure assignees can be set for generated PRs (#62418) 2026-08-10 09:20:15 +00:00
extension_tests.yml ci: Acquire ts_query_ls using the gh CLI instead (#62900) 2026-08-19 22:28:55 +00:00
extension_workflow_rollout.yml ci: Ensure assignees can be set for generated PRs (#62418) 2026-08-10 09:20:15 +00:00
good_first_issue_notifier.yml ci: Set and enforce more default permissions (#60222) 2026-07-06 16:02:54 +00:00
guild_assignment_status.yml ci: Configure more steps more explicitly (#61401) 2026-07-23 11:25:56 +00:00
guild_new_pr_notify.yml ci: Configure more steps more explicitly (#61401) 2026-07-23 11:25:56 +00:00
guild_stale_assignments.yml ci: Configure more steps more explicitly (#61401) 2026-07-23 11:25:56 +00:00
guild_weekly_shipped.yml ci: Configure more steps more explicitly (#61401) 2026-07-23 11:25:56 +00:00
hotfix-review-monitor.yml ci: Set and enforce more default permissions (#60222) 2026-07-06 16:02:54 +00:00
nix_build.yml ci: Set and enforce more default permissions (#60222) 2026-07-06 16:02:54 +00:00
pr_issue_labeler.yml Update community champions list (#62761) 2026-08-17 19:05:13 +00:00
publish_extension_cli.yml ci: Ensure assignees can be set for generated PRs (#62418) 2026-08-10 09:20:15 +00:00
release.yml ci: Configure more steps more explicitly (#61401) 2026-07-23 11:25:56 +00:00
release_nightly.yml ci: Configure more steps more explicitly (#61401) 2026-07-23 11:25:56 +00:00
run_bundling.yml ci: Configure more steps more explicitly (#61401) 2026-07-23 11:25:56 +00:00
run_tests.yml Switch from cargo-machete to cargo-shear (#62643) 2026-08-20 10:08:48 +00:00
slack_notify_community_automation_failure.yml Automate cleanup of unsigned and stale draft pull requests (#62936) 2026-08-21 07:53:28 +00:00
slack_notify_first_responders.yml Update first responders notifier for repo label rename (#61402) 2026-07-21 15:04:45 +00:00
slack_notify_label_created.yml ci: Set and enforce more default permissions (#60222) 2026-07-06 16:02:54 +00:00
stale-pr-reminder.yml ci: Set and enforce more default permissions (#60222) 2026-07-06 16:02:54 +00:00
track_duplicate_bot_effectiveness.yml ci: Restore member read permission for community workflows (#62755) 2026-08-17 12:23:47 +00:00
triage_queue_board.yml Add second-line triage queue board automation (#61918) 2026-07-30 13:12:54 +00:00
update_duplicate_magnets.yml ci: Set and enforce more default permissions (#60222) 2026-07-06 16:02:54 +00:00