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: |