Augment "Schedule Monthly" open issues assigned to non-team members#8175
Merged
t-will-gillis merged 12 commits intohackforla:gh-pagesfrom Jun 28, 2025
Merged
Conversation
|
Want to review this pull request? Take a look at this documentation for a step by step guide! From your project repository, check out a new branch and test the changes. |
github-actions/trigger-schedule/list-inactive-members/trim-inactive-members.js
Fixed
Show fixed
Hide fixed
github-actions/trigger-schedule/list-inactive-members/trim-inactive-members.js
Fixed
Show fixed
Hide fixed
fix misplaced `!`
correct capitalization of 'GitHub'
5 tasks
santiseccovidal
approved these changes
Jun 25, 2025
Member
santiseccovidal
left a comment
There was a problem hiding this comment.
Hi @t-will-gillis everything looks great.
My repo's run. I run the changes in my own repo and it worked exactly as we discussed on Sunday.
Code changes are correct, the changes in the structures and I agree on the logic for locating users. Now that the variable holding users that cannot be removed yet is deleted the code changes are more clear.
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.
Fixes #8174
What changes did you make?
get-open-assigned-issues.jsget-contributors-data.js, split outinactiveWithOpenSkillsfrominactiveWithOpenIssuetrim-inactive-members.js, followedinactiveWithOpenSkillssplit, added function call togetOpenAssignedIssues.js, simplified if/else statements, followed new variablenonTeamOpenIssuecreateNewIssue.js, added section to reportnonTeamWIthOpenWhy did you make the changes (we will use this info to test)?
CodeQL Alerts
After the PR has been submitted and the resulting GitHub actions/checks have been completed, developers should check the PR for CodeQL alert annotations.
Check the PR's comments. If present on your PR, the CodeQL alert looks similar as shown
Please let us know that you have checked for CodeQL alerts. Please do not dismiss alerts.
Instructions for resolving CodeQL alerts
If CodeQL alert/annotations appear, refer to How to Resolve CodeQL alerts.
In general, CodeQL alerts should be resolved prior to PR reviews and merging
Screenshots of Proposed Changes To The Website (if any, please do not include screenshots of code changes)
Notes for Reviewers
Note that I can do a live demonstration instead of you needing to run this yourself. Otherwise,
You will need to have a functioning test environment on your local repo. In addition to the 'files changed' in the PR, there are additional changes that you should make to help with testing. If you do not make these edits, you might delete or mis-edit Hack for LA data, delete team members, generate false or junk notifications, and/or create junk issues on HfLA's live project board.
In
schedule-monthly.yml, you will need to activate two personal tokens.HACKFORLA_BOT_PA_TOKENscopes: admin:org_hook, public_repoHACKFORLA_ADMIN_TOKENscopes: admin:org_hook, public_repo, write:orgIn the same file, near line 12, replace 'hackforla' with your personal repo.
In
get-contributors-data.jsowner: 'hackforla',repo: 'website',In 'trim-inactive-members.js`:
with:
closePrework()function, starting around ln 110:In
create-new-issue.js:const owner = '<your name>';NOT 'hackforla'const repo = '<your repo name>';// let milestone = parseInt(issueObject['milestone']);// milestone,In
/utils/get-team-members.js:org: 'hackforla',In
/utils/add-team-member.js:org: 'hackforla',org: 'hackforla',In
/utils/get-timeline.js:owner: 'hackforla',repo: 'website',In
/utils/post-issue-comment.js:owner: ' <your name> ',NOT 'hackforla'repo: 'website',In
get-open-assigned-issues.js:owner: 'hackforla',