aixigo / PREvant

Composing Microservices into Reviewable and Testable Applications
MIT License
13 stars 10 forks source link

Avoid Duplicated CI Runs on PRs #159

Closed schrieveslaach closed 9 months ago

schrieveslaach commented 9 months ago

In #158 the CI workflow has been improved so that CI also runs when providing a PR. However, that led to the situation that CI runs are duplicated for PRs that originate from internal branches. This commit adresses this issues and avoids duplicate CI runs.

schrieveslaach commented 9 months ago

@jannic, do you mind to have a look. In #156 you can see the effect:

image

jannic commented 9 months ago

Looks like a sensible change. Of course, it needs to be updated if you have more branches that should always be tested. Alternatively, don't use branches in this repository as sources for pull requests.

schrieveslaach commented 9 months ago

@jannic, thanks for your feedback.