-
Notifications
You must be signed in to change notification settings - Fork 23
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
[BUG] status_value is required #27
Labels
bug
Something isn't working
Comments
aomarks
added a commit
to lit/lit
that referenced
this issue
Jan 20, 2022
The workflow I was trying from https://github.com/leonsteinhaeuser/project-beta-automations didn't work (filed leonsteinhaeuser/project-beta-automations#27). But I realized we could use the graphql API directly to get more control here. This new action is based on the example at https://docs.github.com/en/issues/trying-out-the-new-projects-experience/automating-projects#example-workflow-authenticating-with-a-personal-access-token, just slightly modified and simplified. I've tested this in my personal repo and it works, so hopefully it will work for us too.
aomarks
added a commit
to lit/lit
that referenced
this issue
Jan 20, 2022
The workflow I was trying from https://github.com/leonsteinhaeuser/project-beta-automations didn't work (filed leonsteinhaeuser/project-beta-automations#27). But I realized we could use the graphql API directly to get more control here. This new action is based on the example at https://docs.github.com/en/issues/trying-out-the-new-projects-experience/automating-projects#example-workflow-authenticating-with-a-personal-access-token, just slightly modified and simplified. I've tested this in my personal repo and it works, so hopefully it will work for us too.
Thank you very much for this catch. When I introduced the "custom_field" support, I added this check to verify that the user has provided data required to update custom fields. It seems that I forgot the precondition check for the operation_mode custom_field. |
@aomarks I have fixed your described problem and created a new release: v1.1.1 If you notice any strange behavior, feel free to reopen this issue. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The documentation states that
status_value
is not required, and that "If left unspecified, new items are added without an explicit status, and existing items are left alone.However, when running the action without
status_value
set, I get the errorParameter 1: RESOURCE_NODE_VALUE is not set
.It looks like this line could be the culprit (it appears to be checking that the variable is not empty):
project-beta-automations/entrypoint.sh
Line 64 in 5d71b8d
The text was updated successfully, but these errors were encountered: