Hey, I created a deployment protection rule to proceed with a workflow run only upon approval. I want to cancel the workflow if the approval is not given within 10 minutes. How can I achieve this? I tried using timeout_minutes first, but it didn’t work as it only applies to the running job or step.
There is no direct functionality to do this. You will have to create a cancellation job at the same time and tigger it to cancel the sister job after it has been running for 10 minutes.