Prerequisites
- Be a member of Hack for LA. (There are no fees to join.) If you have not joined yet, please follow the steps on our Getting Started page and attend an onboarding session.
- You have already read our How to Contribute to Hack for LA Guide.
Overview
We need to fix a bug in the "Issue Trigger" workflow so the automation functions as intended.
Details
Recently (5/9/26), a junior dev had (3) open PRs on the "Pull Request" board, which the "Issue Trigger" workflow should prevent. A review of one of the latest "Issue Trigger" workflow logs shows that a failure occurs when a GraphQL call is made to a non-existent issue.
Error message
The error can be traced back to assignedToAnotherIssue() in preliminary-update-comment.js , where the GitHub API returns both issues and PRs when the automation queries all issues assigned to a developer. The subsequent queryIssueInfo() makes a GraphQL call which fails because the query expects issues only, not PRs.
function assignedToAnotherIssue()
A solution to this problem is to filter the results of assignedToAnotherIssue() to return only issues.
Action Items
Resources/Instructions
Prerequisites
Overview
We need to fix a bug in the "Issue Trigger" workflow so the automation functions as intended.
Details
Recently (5/9/26), a junior dev had (3) open PRs on the "Pull Request" board, which the "Issue Trigger" workflow should prevent. A review of one of the latest "Issue Trigger" workflow logs shows that a failure occurs when a GraphQL call is made to a non-existent issue.
Error message
The error can be traced back to
assignedToAnotherIssue()inpreliminary-update-comment.js, where the GitHub API returns both issues and PRs when the automation queries all issues assigned to a developer. The subsequentqueryIssueInfo()makes a GraphQL call which fails because the query expects issues only, not PRs.function
assignedToAnotherIssue()A solution to this problem is to filter the results of
assignedToAnotherIssue()to return only issues.Action Items
assignedToAnotherIssue():Resources/Instructions