Skip to content

Commit

Permalink
Fix add to project action (#158)
Browse files Browse the repository at this point in the history
Tried to remove the problematic line. May need a couple of these to
test.
  • Loading branch information
srikrsna-buf authored Jan 25, 2024
1 parent 81e06a3 commit 98fd9c6
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions .github/workflows/add-to-project.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down

0 comments on commit 98fd9c6

Please sign in to comment.