Skip to content

Commit

Permalink
fix: added double quotes to value entries (#10)
Browse files Browse the repository at this point in the history
See: #9
  • Loading branch information
leonsteinhaeuser committed Oct 4, 2021
1 parent 1fd1a95 commit 512882e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ runs:
env:
GITHUB_TOKEN: ${{ inputs.gh_token }}
shell: bash
run: "${{ github.action_path }}/entrypoint.sh ${{ inputs.organization }} ${{ inputs.project_id }} ${{ inputs.resource_node_id }} ${{ inputs.status_value }}"
run: "${{ github.action_path }}/entrypoint.sh \"${{ inputs.organization }}\" \"${{ inputs.project_id }}\" \"${{ inputs.resource_node_id }}\" \"${{ inputs.status_value }}\""
3 changes: 1 addition & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@ status_value_OPTION_ID=$(extractStatusFieldNodeSettingsByValue "$status_value")
echo "PROJECT_ID: $PROJECT_ID"
echo "ITEM_ID: $ITEM_ID"
echo "STATUS_FIELD_ID: $STATUS_FIELD_ID"

echo "status_value_OPTION_ID: $status_value_OPTION_ID"

# update single select field
updateSingleSelectField $PROJECT_ID $ITEM_ID $STATUS_FIELD_ID $status_value_OPTION_ID
updateSingleSelectField "$PROJECT_ID" "$ITEM_ID" "$STATUS_FIELD_ID" "$status_value_OPTION_ID"

0 comments on commit 512882e

Please sign in to comment.