gh api query a empty json file #8848
Unanswered
rajesh-kareti-infovision
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
gh api -H "Accept: application/vnd.github.VERSION.raw" "/repos/BuddyTV/xxx/result.json?ref=xxx" -q 'query'
This is working fine when result.json has some value. but github action failing with error when result.json is empty.
Is there a way this query can return with out error when the json file is empty? return empty is fine but should not throw error
Beta Was this translation helpful? Give feedback.
All reactions