You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
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