Fix update_project mutation missing color field for single-select options #6604
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.
The
update_projectsafe output failed when adding new options to GitHub Projects V2 single-select fields. GraphQL requires thecolorfield to be non-null for all options in theupdateProjectV2Fieldmutation, but the code only includednameanddescriptionwhen building the options array.Changes:
colorfield from existing optionsWarning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/user/usr/bin/gh gh api user --jq .login -json GO111MODULE g_.a GOINSECURE GOMOD GOMODCACHE ache/go/1.25.0/xTest User env 4248081/b001/_pkg_.a GO111MODULE ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE ache/go/1.25.0/x64/pkg/tool/linu/var/run/docker/runtime-runc/moby(http block)/usr/bin/gh gh api user --jq .login -json GO111MODULE che/go-build/0f/0f22223af12b9207afdcf9a651cdc71003f044bebccf1dc9fbf70cd42e8249ca-d/gh-aw GOINSECURE GOMOD GOMODCACHE che/go-build/0f/0f22223af12b9207afdcf9a651cdc71003f044bebccf1dc9fbf70cd42e8249ca-d/gh-aw env -json GO111MODULE e/git GOINSECURE GOMOD GOMODCACHE e/git(http block)/usr/bin/gh gh api user --jq .login /run/containerd/io.containerd.runtime.v2.task/moby/d5c9902fc5b4f79c459b8d7560aff47070cd8d3eacc1e4636c9dbfaa7c21fd76/init.pid d5c9902fc5b4f79c459b8d7560aff47070cd8d3eacc1e4636c9dbfaa7c21fd76 ache/go/1.25.0/x64/pkg/tool/linux_amd64/vet GOINSECURE GOMOD GOMODCACHE ache/go/1.25.0/x64/pkg/tool/linu--log env 47070cd8d3eacc1e4636c9dbfaa7c21fd76 GO111MODULE /opt/hostedtoolcache/go/1.25.0/xdelete GOINSECURE GOMOD GOMODCACHE go(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.