Betterment / rspec-fortify

MIT License
2 stars 0 forks source link

make determining what is a PR branch CI provider agnostic #4

Open devinburnette opened 2 months ago

devinburnette commented 2 months ago

right now this only works with CircleCI. maybe we introduce some type of config where we can set a "trunk" or "default branch" pattern, and everything else is a PR?

samandmoore commented 2 months ago

Looking at the code, it's probably not too hard to make it so folks can configure a lambda for it as a config setting. The default can just be the presence of that circleci env var but then someone can override it to be whatever they need, like checking the GitHub event name in GitHub actions or something.