danger / peril

☢️ Serious and immediate danger.
https://danger.systems
MIT License
460 stars 58 forks source link

Fetch rules from dev branch #479

Closed loremattei closed 3 years ago

loremattei commented 3 years ago

This PR makes it possible to read settings from branches other than the default repository one. This is already supported by Danger using the #<branch-name> notation and it looks like some part of the implementation are already in Peril, but it doesn't currently work.

Basically, these changes just make sure that the selected branch is passed down to Danger.

orta commented 3 years ago

Yeah, this makes sense to me 👍🏻

orta commented 3 years ago

Good thinking