Re-run PR build flow #1652
Replies: 3 comments 6 replies
-
Hi @Nirajn2311, it should not be a case if I understood you correctly. So, you are saying that after a PR build fails, any other commit to the same branch that triggered that PR build fails with the error message you shared above, correct ? If so, as your branch has already been registered, it should be alright regardless of the previous builds statuses on that PR branch. Please let me know how you are trying it step by step. |
Beta Was this translation helpful? Give feedback.
-
This discussion is being closed due to no activity in the last 14 days. You can reopen the discussion at any time if needed. |
Beta Was this translation helpful? Give feedback.
-
Sorry about the late reply, got held up with some stuff. I'll be writing down the steps that lead me to that error here with the example of https://github.com/freeCodeCamp/mobile repo. That repo is the one connected to Codemagic and where the webhook is set. The triggers set for the CI workflow are pushes to
As you can see a new build occurs only if a new commit is pushed to the PR but on choosing to make a new build from a failed build page it won't work. My query here is how can I restart a failed build from a forked branch to resolve the above shown error without having to add the webhook to forked repo. Also the error will not appear if you choose |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Is there a way to restart/redo a build for PRs without making another commit. Currently a build is created for any commit that is pushed to branch but if I try to do restart a failed build, I get an error -
Cannot access the repository: <branch-name> does not exist
. I believe this is because the PR branch does not exist in the repo and is instead from a fork.Beta Was this translation helpful? Give feedback.
All reactions