hackforla / hackforla/automate-the-org

ER: Enhancement for "Add Update Label Weekly": add auto-delete

Open
#52 0 comments 0 reactions 1 assignee Claimed by @t-will-gillis View on GitHub
enhancement
Dominant language
JavaScript
Stars
1
Forks
3
Avg merge
7m
Merged PRs (30d)
2

Description

### Emergent Requirement - Problem
In a meeting among Bonnie, Brandy/TDM, Nataliya/TDM, and Will, Bonnie indicated that we want to add an enhancement to the "Add Update Label Weekly" workflow that will unassign assignees if they have not updated their issue status within the `unassignedByDays` timeframe, to default to 21 days.

### Issue you discovered this emergent requirement in
- n/a

### Date discovered
- 4/2/26

### Did you have to do something temporarily
- [ ] YES
- [x] NO

### Who was involved
@t-will-gillis

### What happens if this is not addressed

### Resources

### Recommended Action Items
- [ ] Make a new issue
- [ ] Discuss with team
- [ ] Let a Team Lead know

### Potential solutions [draft]
```
### Overview
We want to add functionality to the "Add Update Label Weekly" workflow that will automatically remove an issue assignee if they have not updated their status within the set timeframe.

### Action Items
Refer to [add-update-label-weekly.js](https://github.com/hackforla/automate-the-org/blob/main/core/add-update-label-weekly.js):
- [ ] Enable the variables `var unassignedByDays;` and `var unassignedCutoffTime;`
- [ ] Add a condition to the "for" loop to check whether the issue is still not updated beyond the unassign time.
- [ ] Workflow to unassign assignee,
- [ ] move issue to "New Issue Approval" <-- verify and
- [ ] label with `status: unassigned for inactivity`
- [ ] Note that this will be a new label for any repo using this workflow, and it will need to be added manually
- [ ] Also needs to be added to config.yaml files

### Resources/Instructions
REPLACE THIS TEXT - Provide links to resources or instructions that may help with this issue. This can include files to be worked on, external sites with solutions, documentation, etc.
```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.