-
Notifications
You must be signed in to change notification settings - Fork 140
Failure to get associated PRs for forked repo #1032
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
Comments
Yeah the release was successful. Here is the full workflow run: https://github.com/joe-p/algokit-core/actions/runs/14618441013/job/41012357613 It just failed on the Edit: I should also mention that this was the first release in the forked repo, thus why it was looking for upstream commits/PRs. I imagine this would also be a problem with any forked repo that regularly pulls commits from upstream |
Thank you @joe-p, I found that the reason why the
This PR/Issue was not found in your fork because they belong to the parent repo (apparently you do not have any issue of PR with number
Yea, this will be some wow use-case of semantic-release to me.... Get in here @jedwards1211 😉; How would you suggest we can handle this kinda case; is this is a thing to do release on a fork with ones change and pull changes from upstream too?? 🤔 |
@joe-p just making sure I understand, your goal here is to release your fork of the code under a different package name, right? But also periodically merge changes from the original package and also release these under your forked package name? (I've done this before to avoid waiting for bugfixes to get merged in a package) In this case, theoretically you might want an error if you typo PR/issue numbers in your own commits that are supposed to reference PRs/issues in your fork, right? The question is how to differentiate between the two. Maybe if we see that a commit exists in the |
Uh oh!
There was an error while loading. Please reload this page.
When running semantic-release with this plugin in a forked repo, the
success
step will fail because the PR doesn't exist in therepositoryUrl
.For example, given a fork of
originalOrg/some-repo
:orgWithFork/some-repo
, the plugin will get the associated PRs for the release, but then try to fetch them fromorgWithFork
repo instead of the upstreamoriginalOrg
Here's the failing workflow run: https://github.com/joe-p/algokit-core/actions/runs/14618441013/job/41012357613
The text was updated successfully, but these errors were encountered: