-
Notifications
You must be signed in to change notification settings - Fork 36
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
--no-ci doesn't seem to get passed through to semantic-release #81
Comments
@Twipped, thanks for highlighting this issue. It seems related to this change: https://github.com/qiwi/multi-semantic-release/pull/80/files#diff-b9b135fc5b2b57179765a193f56284025893d03b8c6f250c75c03c2a97ad4d0dR196 Would you try to fix it? |
I’ll give it a shot.
… On Jun 21, 2022, at 1:35 PM, Anton Golub ***@***.***> wrote:
@Twipped <https://github.com/Twipped>, thanks for highlighting this issue.
It seems related to this change: https://github.com/qiwi/multi-semantic-release/pull/80/files#diff-b9b135fc5b2b57179765a193f56284025893d03b8c6f250c75c03c2a97ad4d0dR196 <https://github.com/qiwi/multi-semantic-release/pull/80/files#diff-b9b135fc5b2b57179765a193f56284025893d03b8c6f250c75c03c2a97ad4d0dR196>
Will you try to fix it?
—
Reply to this email directly, view it on GitHub <#81 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AABYN5MW2PFWYTEVCTSJ34TVQIRQ7ANCNFSM5ZMZR7UQ>.
You are receiving this because you were mentioned.
|
It does appear that the removal of // - ci should use the msr version if specified, otherwise fallback to semrel
options.ci = flags.ci === undefined ? options.ci : flags.ci; However, once I got past that issue I ran into numerous other blockers in SR itself that made this experiment too difficult. I had been hoping to make a workflow that would output what releases a PR would trigger, but SR has so many safety checks against accidentally running on the wrong branch that I couldn't even get it to do a commit analysis. With that, I can't justify spending any more time on this. BTW, I also noticed that options.branches = flags.branches ? castArray(flags.branches) : options.branches; |
@Twipped, np, thanks for the digging. We will continue this work. |
hi! I started working on this issue |
Workaround:
|
Issue type
Expected behavior
Invoking MSR with
--no-ci --dry-run
when running in a github action should bypass the CI checks and perform a dry-run for the repo.Actual behavior
Each package fails, complaining that it is happening in a pull request. (This error).
--no-ci
flag)Steps to reproduce
Run the following in a pull request github workflow for a monorepo.
multi-semantic-release --no-ci --dry-run
Specifications
The text was updated successfully, but these errors were encountered: