danger-js
danger-js copied to clipboard
[BUG] Can not fake beeing on CI with base branch main instead of master
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.
You're welcome to look at adding that flag 👍🏻
Workaround: use danger pr <URL> instead of danger ci, at least that's what I have in our repo's troubleshooting comments :P