NTD-Modelling-Consortium / ntd-model-sch

NTD SCH model
MIT License
0 stars 6 forks source link

Avoid running CI twice when pushing to PR branch #48

Closed tlestang closed 3 months ago

tlestang commented 3 months ago

Currently the CI workflow runs twice when pushing commits to a branch for which a PR is opened.

This changes the workflow configuration so that it runs only once (according to the pull_request directive), but also sets the CI to run whenever commits are pushed to the main branch (i.e. after the PR is merged).