diff --git a/.github/workflows/add-to-project.yaml b/.github/workflows/add-to-project.yaml index e86f112..7c2e2a5 100644 --- a/.github/workflows/add-to-project.yaml +++ b/.github/workflows/add-to-project.yaml @@ -52,7 +52,7 @@ jobs: } } } - }' -f name="${{ github.event.repository.name }}" -f owner="${{ github.event.repository.owner }}" -f number="${{ github.event.issue.number }}" | jq -r '.data.repository.issue.projectItems.nodes | .[] | select(.project.number==1 and .fieldValueByName.optionId == "dea0b2c9") | .id)" >> $GITHUB_OUTPUT + }' -f name='${{ github.event.repository.name }}' -f owner='${{ github.event.repository.owner }}' -f number='${{ github.event.issue.number }}'' | jq -r '.data.repository.issue.projectItems.nodes | .[] | select(.project.number==1 and .fieldValueByName.optionId == \"dea0b2c9\") | .id)'" >> $GITHUB_OUTPUT - name: "Update status" if: ${{ steps.get_project_item_id.outputs.item_id != '' }} run: | @@ -67,4 +67,4 @@ jobs: ) { clientMutationId } - }' -f itemId=${{ steps.get_project_item_id.outputs.item_id }} + }' -f itemId='${{ steps.get_project_item_id.outputs.item_id }}'