From 98fd9c68c1ce8568e9b2132aa89ed4477333818f Mon Sep 17 00:00:00 2001 From: Sri Krishna <93153132+srikrsna-buf@users.noreply.github.com> Date: Thu, 25 Jan 2024 21:42:28 +0530 Subject: [PATCH] Fix add to project action (#158) Tried to remove the problematic line. May need a couple of these to test. --- .github/workflows/add-to-project.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/add-to-project.yaml b/.github/workflows/add-to-project.yaml index f72bfe5..e86f112 100644 --- a/.github/workflows/add-to-project.yaml +++ b/.github/workflows/add-to-project.yaml @@ -52,11 +52,7 @@ jobs: } } } - }' -f name=$REPO_NAME -f owner=$REPO_OWNER -f number=$ISSUE_NUMBER | jq -r '.data.repository.issue.projectItems.nodes | .[] | select(.project.number==1 and .fieldValueByName.optionId == "dea0b2c9") | .id)" >> $GITHUB_OUTPUT - env: - REPO_NAME: ${{ github.event.repository.name }} - REPO_OWNER: ${{ github.event.repository.owner }} - ISSUE_NUMBER: ${{ github.event.issue.number }} + }' -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: |