-
Notifications
You must be signed in to change notification settings - Fork 81
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
@semantic-release/github adds comments to the wrong issues #51
Comments
I think you're right! Haven't had a chance to look into it. Here's a few related issues: semantic-release/github#50 Help wanted! |
As a temporary workaround, the comments can be turned off by overriding the default |
I did some investigation and see that Will try to understand why is that |
const commits = await getCommits(lastRelease.gitHead, options.branch, logger); Later it passes this array of commits to every plugin call, in |
Github/success leaves comments for wrong issues due to pmowrer/semantic-release-monorepo#51 and semantic-release/semantic-release#193
Haven't had a chance to look at this... Thanks for the research! Sounds like maybe all we need to do is wrap the |
Has there been an update on this? It's pretty noise right now every time a release happens. |
@milesj I don't have an update for you at the moment. But we will be looking into this in the next week or so. |
Our releases are taking longer and longer because it's adding so many comments to PRs. If someone can point me to the location of what to fix, I can take a stab at it. Maybe wrapping the success plugin? |
Is there a way to help you? |
Because of the monorepo structure, `semantic-release-monorepo` cannot determine which pull-requests and issues are supposed to be commented on each commit. More info on pmowrer/semantic-release-monorepo#51
I have a branch up that should fix this, |
Has anyone tried this? Can we get this fixed in the package? |
Just FYI: I switched to solution semantic-release/semantic-release#193 (comment) Similar hack but is much simpler and augments only single package. Haven’t tried to enable release comments however. Better cross-release support |
You should check out semantic-release-plus! Should be essentially the same, but it’s always kept up to date with semantic-release itself. |
@pmowrer i've been testing this branch out a fair amount today, and it seems to be working as i would expect. what would it take to include this in a published release (even a pre-release would be ok with me)? |
Thanks so much for trying it out @travi! That's good enough for me... just published a new release with the fix! |
🎉 This issue has been resolved in version 7.0.3 🎉 The release is available on: Your semantic-release bot 📦🚀 |
thanks! |
This should allow the posting of comments to work when using the `github` plugin. [Fixes pmowrer/semantic-release-monorepo#51]
It looks like
@semantic-release/github
adds comments to the wrong issues when used in monorepoThe text was updated successfully, but these errors were encountered: