-
-
Notifications
You must be signed in to change notification settings - Fork 777
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
Fix bug that prevents GHA "Schedule Monthly" from running #4788
Comments
This comment was marked as outdated.
This comment was marked as outdated.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Progress: the planned features are mostly complete. Having a hang up with accessing an artifact that I want to transfer between GitHub Action jobs. The artifact is successfully uploaded via If I keep the revised GHA as a single job, then we do not need the artifact because the data passes step to step. TBC |
DRAFTReview of Inactive Website Team MembersInactive MembersDevelopers: If your name is on the following list, our team bot has determined that you have been inactive with the Website team in the last 30 days. If we don't hear back from you in the upcoming weeks, we will unassign you from any issues you may be working on and remove you from the 'website-write' team. cnk Did we make a mistake?The bot is checking for the following activity:
If you have been inactive in the last 30 days (using the above measurement), you can become active again, by doing one of the above actions. If you were active during the last 30 days (using the above measurement), the bot did make a mistake, let us know, by responding in a comment (reopening this issue) with this message:
After you have left the comment, please send us a Slack message to hfla-site channel with a link to your comment. Temporary leaveIf you have taken a temporary leave, and you have been authorized to keep your assignment to an issue.
Removed MembersOur team bot has determined that the following member(s) have not been active with the Website team for over 60 days, and therefore the member(s) have been removed from the 'website-write' team. cnk If this is a mistake or if you would like to return to the Hack for LA Website team, please respond in a comment with this message:
After you have left the comment, please send us a Slack message to hfla-site channel with a link to your comment. |
@t-will-gillis I left a revised language that should be used in the issue (in the comment above). You will notice that
Notes
|
@ExperimentsInHonesty Please cross reference my repo's issue 359
Notes
WG: For an issue written many months ago that is being worked on now, it appears that the GHA might be including the original author in the group of "active contributors".... |
Comments from Bonnie hackforla#4788 (comment)
Addresses Bonnie's comments hackforla#4788 (comment)
update to template per Bonnie's comments hackforla#4788 (comment)
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
|
Hello @ExperimentsInHonesty and @roslynwythe The following are done. We probably should discuss item 2... Updates:
|
@roslynwythe @ExperimentsInHonesty (from previous comment above) The alternate option that I believe will work is to have the member comment on the "Review Inactive Team Members" issue, and then open a new issue from the comment itself. This option works for any member regardless of write status. I was able to confirm this in practice by using the same method to open an issue through a 'dummy' account: #5939 When the member opens a new issue this way, the issue passes through existing GHAs, and with minor edits the GHAs can apply appropriate labels and move the issue to the "Questions / In Review" column. The details with examples are described in #5467 under the section "11/29/23: Final Addendum". |
…788 (#5467) * Update schedule-monthly.yml Combining functionalities of prev. `schedule-monthly.yml` and `schedule-thu-1100.yml` * Update contributors-data.js Consolidate previous `schedule-monthly.yml` and `schedule-thu-1100.yml` * Update create-new-issue.js * Update comment-issue.js Consolidate `schedule-monthly.yml` and `schedule-thu-1100.yml` * Update create-new-issue.js Address CodeQL notice * Delete github-actions/trigger-schedule/list-inactive-members/get-list.js No longer used * Delete .github/workflows/schedule-monthly-PREV.yml Consolidated functionality into revised `schedule-monthly.yml` * Update create-new-issue.js changed 'Website' team to 'website-write' team in the paragraph beginning "If this was a mistake..." * Update create-new-issue.js Remove `ready for product` label * Update create-new-issue.js Comments from Bonnie #4788 (comment) * Update schedule-monthly.yml Bump actions/setup-node@v3 --> @v4 per #5769 * Update contributors-data.js Removing import references to 'true-github-contributors'- this is not actually used in this file. * Update create-new-issue.js Changes in response to Bonnnie's comments * Update create-new-issue.js Fixed `milestone` to be `8`, which is the HfLA milestone number corresponding to ".08 Team workflow". Also, minor edits to the formatting of the message. * Create schedule-monthly-PREV.yml Fixing merge conflict: The "to be deleted" file has changed. Adding file back with the changes, then will immediately delete it again. * Delete .github/workflows/schedule-monthly-PREV.yml * Create schedule-monthly-PREV.yml Adding this file back in in order to address the merge conflict. Once this PR is merged, a follow up PR will delete this file. * Update create-new-issue.js Added notes to Dev Leads explaining process to reactivate members, and investigate if a bug is noticed * Update contributors-data.js Changed so that only issue assignees are returned when querying "/issues". * Update contributors-data.js minor tweaks * Update schedule-monthly.yml Update actions/github-script@v6 --> v7 * Create wr-schedule-monthly.yml Workflow run to automatically close the issue created by the 'Schedule Monthly' workflow * Update create-new-issue.js * Create schedule-monthly-reopen.yml * Update schedule-monthly-PREV.yml updating actions/github-script@v6 --> v7 per #5899 * Update schedule-monthly.yml Adding check to skip run on January 1st (since December is off for HfLA website) * Update contributors-data.js Adding checks to skip the January 1st run, and adjust to 3 months inactive only for the February 1st run * Update wr-schedule-monthly.yml Corrected the name of the GH_TOKEN * Update schedule-monthly-reopen.yml Corrected name of repo-token * Update issue-trigger.yml latest updates for Inactive Members * Delete .github/workflows/schedule-monthly-reopen.yml The reopening mechanism will be different; this workflow no longer needed * Update check-labels.js latest with new mechanism for inactive members to create issues * Update create-new-issue.js new mechanism for inactive members to send message * Update create-new-issue.js Demo video slowed down * Update contributors-data.js f. ER#4541: add check to see if inactive member on 'website' team prior to removal from 'website-write' team * Update create-new-issue.js uploaded new demo gif
Prerequisites
Overview
We need our GitHub Actions to run as expected on the schedule that we have set so that our workflow is not interrupted. The GHA "Schedule Monthly" has failed on the last two scheduled runs and the error needs to be addressed.
Details
When reviewing HfLA "Actions" logs on the repo, it can be seen that the GHA "Schedule Monthly" has attempted to run on schedule on the 1st of the month for the last three months. Both attempts have failed on the the job
list-inactive-members
on the stepGet List
.A successful run of this GHA will result in an issue being generated on the HfLA Project Board similar to the following, as well as a notification comment being added to issue #2607.
Action Items
Suggested steps:
schedule-monthly-PREV.yml
after Fix bug that prevents GHA "Schedule Thursday 1100" from running #4768 is merged.workflow_dispatch:
to Line 6 of the schedule-monthly.yml so that the action can be triggered immediately on the live site, i.e.:On_ the yml file, change line 11- uses: actions/checkout@v2
to- uses: actions/checkout@v3
per Bump actions/checkout from 2 to 3 #4735const owner = "hackforla"
to your own repo. (You will revert this before you open the PR.)let agendaAndNotesIssueNumber = 2607;
to reference the issue you created. (You will revert this before you open the PR.)Resources/Instructions
Never done GitHub actions? Start here!
Events that trigger workflows
Workflow syntax for GitHub Actions
actions/github-script
schedule-monthly.yml
/list-inactive-members/
workflow logs
Review issues GHA to list inactive members #4158 and PR created a GHA to list inactive members of website-write team #4545
Note:
schedule-monthly.yml
is intended to identify and remove "Inactive" members from 'website-write' team, which also addresses ER ER: Remove inactive members from team resources #4541The text was updated successfully, but these errors were encountered: