-
Notifications
You must be signed in to change notification settings - Fork 9
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FEAT]: force-cancel #100
Comments
👋 Hi! Thank you for this contribution! Just to let you know, our GitHub SDK team does a round of issue and PR reviews twice a week, every Monday and Friday! We have a process in place for prioritizing and responding to your input. Because you are a part of this community please feel free to comment, add to, or pick up any issues/PRs that are labeled with |
Appears to be in this branch: dotnet-sdk/src/GitHub/Repos/Item/Item/Actions/Runs/Item/ForceCancel/ForceCancelRequestBuilder.cs Line 13 in 668e0f0
|
Hey @mikebollandajw Thanks for reaching out. There might be a little confusion around which SDK you're using that I'd like to clear up. This issue was created in the dotnet-sdk repository which is for our generated SDK - and the branch you reference has been shipped as part of the change sets. The generated SDK dotnet-sdk, is currently in pre-release and is on v.0.0.23 The version number that you are referencing actually belongs to Octokit.net - that is our older, manually written SDK - v13.0.1 being the latest version there. Please consider using the newer SDK; as you have discovered our generative SDK (dotnet-sdk - available on nuget) is updated with the latest from the GitHub REST API nightly. Otherwise, we can transfer this issue to the classic Octokit.net repo and label it as "Up for Grabs" so that you or the community can pick it up and add the APIs to the older SDK. |
Describe the need
Workflow Cancel is not working from the API despite returning an ACCEPT
Apparently you can force cancel it but we appear to be missing the ability to cancel in the Oktokit library
API Version is: 2022-11-28
https://docs.github.com/rest/actions/workflow-runs#force-cancel-a-workflow-run
See:
actions/runner#1846
https://stackoverflow.com/questions/77799456/workflow-stuck-and-not-cancellable
SDK Version
octokit/dotnet-sdk v13.0.1
API Version
2022-11-28
Code of Conduct
The text was updated successfully, but these errors were encountered: