summaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2022-11-04 19:16:54 +0100
committerMarc Cornellà <hello@mcornella.com>2022-11-04 19:16:54 +0100
commit1342459b153576429382aed34ee5753f85bf3420 (patch)
tree430ee9dcaa3bef6e4e954fa3a000dcd7c49185fb /.github
parentb3b336b0f95644ceda7758871191cdf040b897b2 (diff)
downloadzsh-1342459b153576429382aed34ee5753f85bf3420.tar.gz
zsh-1342459b153576429382aed34ee5753f85bf3420.tar.bz2
zsh-1342459b153576429382aed34ee5753f85bf3420.zip
ci: fix update of plugin or theme fields
See [1] for the reference of value field (ProjectV2FieldValue type), and [2] for sample application code. [1] https://docs.github.com/en/graphql/reference/input-objects#projectv2fieldvalue [2] https://docs.github.com/en/enterprise-cloud@latest/issues/planning-and-tracking-with-projects/automating-your-project/automating-projects-using-actions#example-workflow-authenticating-with-a-github-app
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/project.yml8
1 files changed, 6 insertions, 2 deletions
diff --git a/.github/workflows/project.yml b/.github/workflows/project.yml
index 1aa69c279..1d961d8c0 100644
--- a/.github/workflows/project.yml
+++ b/.github/workflows/project.yml
@@ -113,7 +113,9 @@ jobs:
projectId: $project
itemId: $item
fieldId: $plugin_field
- value: $plugin_value
+ value: {
+ text: $plugin_value
+ }
}) {
projectV2Item {
id
@@ -123,7 +125,9 @@ jobs:
projectId: $project
itemId: $item
fieldId: $theme_field
- value: $theme_value
+ value: {
+ text: $theme_value
+ }
}) {
projectV2Item {
id