Retry for failed steps

One of the steps in my workflow is failing 25% of the time due to external reason (Github Package Registry) is there a build in way to retry a few times before giving up?


Currently, GitHub Actions does not support to automatically retry the failed steps. However, we have an option to re-run the failed workflow by clicking the button Re-run checks. Maybe, you can try to re-run the whole failed workflow.

1 Like

That’s nice but doesn’t really scale well in the long term

Right so found at least the cause for my failure, turned out that the PR was coming from dependabot. Which doesn’t have access to my GPR repo 🤦.

@brightran Has the support been provided to automatically retry the failed step ?