Skip to content
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

[BUG] Can not fake beeing on CI with base branch main instead of master #1285

Open
muuvmuuv opened this issue Jun 15, 2022 · 2 comments
Open
Labels
enhancement You Can Do This This idea is well spec'd and ready for a PR

Comments

@muuvmuuv
Copy link

Describe the bug

https://danger.systems/js/guides/the_dangerfile.html#using-danger-and-faking-being-on-a-ci

Following the instruction fails due to base branch is main and no way to change that with a flag since ci has no -b flag.

To Reproduce
Steps to reproduce the behavior:
1.
2.
3.
4.

Expected behavior

Screenshots
If applicable, add screenshots to help explain your problem.

Your Environment

software version
danger.js
node
npm
Operating System

Additional context
Add any other context about the problem here.

@muuvmuuv muuvmuuv added the bug label Jun 15, 2022
@orta
Copy link
Member

orta commented Jun 15, 2022

You're welcome to look at adding that flag 👍🏻

@fbartho
Copy link
Member

fbartho commented Apr 3, 2023

Workaround: use danger pr <URL> instead of danger ci, at least that's what I have in our repo's troubleshooting comments :P

@fbartho fbartho added enhancement You Can Do This This idea is well spec'd and ready for a PR and removed bug labels Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement You Can Do This This idea is well spec'd and ready for a PR
Projects
None yet
Development

No branches or pull requests

3 participants