Skip to content

Commit

Permalink
Check existing issue url against null
Browse files Browse the repository at this point in the history
  • Loading branch information
dnestoro committed Nov 19, 2024
1 parent 56cb801 commit 2758ad3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/check-new-library-versions.yml
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,7 @@ jobs:
FORMATTED_BODY=$(./gradlew -q groupLibrariesByName --libraries="$ALL_LIBRARIES")
EXISTING_ISSUE=$(gh issue list --label "$LABEL" --state open --limit 1 --json url | jq -r '.[0].url')
if [ $EXISTING_ISSUE != "" ]; then
if [ $EXISTING_ISSUE != "null" ]; then
gh issue edit $EXISTING_ISSUE --body "$FORMATTED_BODY"
else
gh issue create --title "List unsupported libraries versions" --body "$FORMATTED_BODY" --label $LABEL
Expand Down

0 comments on commit 2758ad3

Please sign in to comment.