-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
Warning: Failed to cancel https://github.com/pingcap/dm/actions/runs/766226952 #103
Comments
You may have configured your repository settings to make GITHUB_TOKEN restrictive. Try adding this permission configuration to the build job you use to run this action:
|
Hi @emabrey , i am afraid it did not work for me, i've set
https://github.com/haskell/haskell-language-server/actions/runs/1398445950/workflow but the action fails to cancell previous runs: https://github.com/haskell/haskell-language-server/runs/4045146716?check_suite_focus=true I suspect it happens if the pr is from a fork (nd most of them are in our case 😟 ) |
Hi @jneira , I found |
@lance6716 thanks for the info, i am little bit confused: that option makes the workflow cancel previous builds on its own (having or no the skip-duplicate-actions) or make skip-duplicate-actions cancel attempts works? |
cause if it is the latter, the issue still is reproduced (you are free to close it anyways of course) |
Without using skip-duplicate-actions which is failing due to github access permission. See fkirc/skip-duplicate-actions#103
skip-duplicate-actions is not needed now :P |
thanks for the clarification, in our case it is giving us other nicities and we want to keep it though so i am opening another issue |
* Add option to cancel prev runs Without using skip-duplicate-actions which is failing due to github access permission. See fkirc/skip-duplicate-actions#103 * Cancel by branch *and* workflow Without it will cancel other workflows for the same branch Credits: 7b371e8b * Disable cancelling other runs Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
* Add option to cancel prev runs Without using skip-duplicate-actions which is failing due to github access permission. See fkirc/skip-duplicate-actions#103 * Cancel by branch *and* workflow Without it will cancel other workflows for the same branch Credits: 7b371e8b * Disable cancelling other runs Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
https://github.com/pingcap/dm/runs/2388157523?check_suite_focus=true
⬆️ This run says it wants to cancel https://github.com/pingcap/dm/actions/runs/766226952 but failed, left a warning.
However I see the latter one is stuck in "Queued" status, seems the cancelation somehow taken effects.How could I solve it?The text was updated successfully, but these errors were encountered: