OndraM / ci-detector

Detect continuous integration environment and get information of current build
MIT License
212 stars 12 forks source link

Do not report target branch if not on pull request #98

Closed OndraM closed 3 years ago

OndraM commented 3 years ago

For CI's which swap variables semantics in non-PR/PR build (AppVeyor and Travis) we should not report the current branch as target branch if the build is not a pull request.

Cc @sanmai