unable to cancel, cancel-force or delete a "death" workflowrun #130741
Unanswered
Rubber1Duck
asked this question in
API and Webhooks
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Select Topic Area
Question
Body
Hallo all,
There is a "death" workflow run in one of my repository for 24 days now.
i tried to cancel this workflow on the website but this runs into error
also tried to canel this with gh, but also with error
`peter@venus:~/RD_RKI_COVID19_DATA$ gh api --method POST -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/Rubber1Duck/RD_RKI_COVID19_DATA/actions/runs/9421031556/cancel
{
"message": "Failed to cancel workflow run",
"documentation_url": "https://docs.github.com/rest/actions/workflow-runs#cancel-a-workflow-run",
"status": "500"
}
gh: Failed to cancel workflow run (HTTP 500)`
also a force-cancel dont work
`peter@venus:~/RD_RKI_COVID19_DATA$ gh api --method POST -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/Rubber1Duck/RD_RKI_COVID19_DATA/actions/runs/9421031556/force-cancel
{
"message": "Failed to cancel workflow run",
"documentation_url": "https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run",
"status": "500"
}
gh: Failed to cancel workflow run (HTTP 500)`
last i tried to delete it with no happiness
`peter@venus:~/RD_RKI_COVID19_DATA$ gh api --method DELETE -H "Accept: application/vnd.github+json" -H "X-GitHub-Api-Version: 2022-11-28" /repos/Rubber1Duck/RD_RKI_COVID19_DATA/actions/runs/9421031556
{
"message": "Could not delete the workflow run",
"documentation_url": "https://docs.github.com/rest/actions/workflow-runs#delete-a-workflow-run",
"status": "403"
}
gh: Could not delete the workflow run (HTTP 403)`
what else i can do?
Thanks in advance
Peter
Beta Was this translation helpful? Give feedback.
All reactions