qmacro/dotfiles

dwr stops with "jq: error"

koppor opened this issue · 1 comments

I get following error when executing the script

jq: error (at <stdin>:0): null (null) cannot be matched, as it is not a string

My quick workaround:

gh api -X DELETE "/repos/$repo/actions/runs/$id" || true

This leads to following output:

OK!     1248062336
{
  "message": "Could not delete the workflow run",
  "documentation_url": "https://docs.github.com/rest/reference/actions#delete-a-workflow-run"
}
gh: Could not delete the workflow run (HTTP 403)
OK!     1248062335