potiuk commented on issue #9479: URL: https://github.com/apache/pulsar/issues/9479#issuecomment-773535003
You are inded usign the action wrongly. The problem is that the workflow that runs from fork does not have permission to write in your repo: This is what `Could not cancel run 527073250: [403] Resource not accessible by integration` message means (thought it is not obvious). The actual "cancel" action shoudl run in a separate worklfow (of `workflow_run` type): https://docs.github.com/en/actions/reference/events-that-trigger-workflows#workflow_run If you start many workflows at the same time, it will be enough to start single "workflow_run" with multiple cancel-workflow steps (one per-workflow). I think also you misuderstand how allDuplicates action works. It does not kill "one branch" duplicates" - it is far more aggressive, It kills ALL duplicates in ALL branches for a given workflow. I can - tomorrow- draft a PR fixing your setup if you would like my help with that :) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
