Fix nightly issue-auto-unassign failure (Projects classic API retired) - #7142
Merged
Merged
Conversation
The nightly "Unassign issues" workflow has failed every day because its last real step, bjthompson805/move-issues, calls the retired Projects (classic) REST API. Columns 8461148 and 15690587 return 404, so the step crashes with an unhandled octokit HttpError and marks the whole run red — including the unassign/warn work that had already succeeded. Remove the move step (and the print step that read its output) so the workflow reflects whether unassigning actually worked. Moving cards on the new board would need the Projects v2 GraphQL API. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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.
What's broken
.github/workflows/issue-auto-unassign.ymlhas failed on every nightly run for weeks — it's the only consistently red workflow onmain. Core CI (rspec, ruby_lint, erb_lint, npm, yaml_lint, factory_bot_lint, security, docker) is green.Last run: 32316495594
Root cause
The
move-issuesaction drives the retired Projects (classic) REST API. Both hardcoded column IDs are gone:The 404 surfaces as an unhandled octokit rejection, so the step exits non-zero and the whole run goes red — even though the unassign/warn steps before it had already completed successfully. The daily red run masks whether the bot is actually doing its job.
Fix
Remove the card-move step and the print step that consumed its output, leaving a comment explaining why. The workflow's actual purpose — unassigning and warning on stale issues — is untouched and now reports its own status honestly.
If the board move is still wanted, it needs re-implementing against the Projects v2 GraphQL API (e.g.
actions/add-to-project) with the new project/field IDs — worth a follow-up issue rather than blocking this.Notes / out of scope
add-labels-based-on-column.yml,remove-label-based-on-column.yml,after-deploy.yml, andissue-auto-close-done.yml(which triggers on theproject_cardevent that classic boards no longer emit). They currently pass — the actions appear to no-op rather than throw — so they're likely silently dead rather than loudly broken.rubyforgood/unassign-issuesstill targets Node 20 and is being force-run on Node 24.Verification
YAML.load_fileparses cleanly; matches the repo's.yamllint(2-space indent, no document-start).workflow_dispatchrun fires onmainafter merge — the remaining steps are unchanged from the ones already succeeding today.🤖 Generated with Claude Code