saros-project / saros

Open Source IDE plugin for distributed collaborative software development
https://www.saros-project.org
GNU General Public License v2.0
160 stars 52 forks source link

Improve action run conditions #1129

Closed tobous closed 3 years ago

tobous commented 3 years ago

Improves the run conditions for the existing GitHub actions.

[BUILD] Avoid running GitHub actions twice on PRs

Adjusts the GitHub action configuration to only run on Pull Requests and on pushes to the 'master' branch. This avoids the actions always running twice for PRs, once for the PR and once for the push to the branch.

[BUILD] Run STF GitHub action on PRs modifying related resources

Adjusts the STF GitHub action to run on any PR that modifies resources in the 'core', 'eclipse', 'stf', or 'stf.test' directory. This should ensure that the action is run for any PR that modifies resources that could influence the result of the STF.