unable to cancel, cancel-force or delete a "death" workflowrun #130741
Replies: 1 comment
-
🕒 Discussion Activity Reminder 🕒 This Discussion has been labeled as dormant by an automated system for having no activity in the last 60 days. Please consider one the following actions: 1️⃣ Close as Out of Date: If the topic is no longer relevant, close the Discussion as 2️⃣ Provide More Information: Share additional details or context — or let the community know if you've found a solution on your own. 3️⃣ Mark a Reply as Answer: If your question has been answered by a reply, mark the most helpful reply as the solution. Note: This dormant notification will only apply to Discussions with the Thank you for helping bring this Discussion to a resolution! 💬 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
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