We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9178790 commit 69ed7b5Copy full SHA for 69ed7b5
.github/workflows/pr-issue-validator.yaml
@@ -105,9 +105,9 @@ jobs:
105
# Fetch the current state of the issue (open/closed) from the private repository.
106
issue_status=$(curl -s \
107
--header "authorization: Bearer ${{ secrets.GH_PR_VALIDATOR_TOKEN }}" \
108
- "$issue_api_url" | jq '.state')
+ "$issue_api_url" | jq '.state'|tr -d \")
109
# Check if the issue is still open.
110
- if [[ "$issue_status" -eq "open" ]]; then
+ if [[ "$issue_status" -eq open ]]; then
111
echo "Issue #$issue_num is opened."
112
# Remove the 'Issue-verification-failed' label (if present) and add 'Ready-to-Review'.
113
gh pr edit $PRNUM --remove-label "PR:Issue-verification-failed"
0 commit comments