Sword-Smith / Sword

Sword — A financial derivative language for the blockchain
MIT License
29 stars 2 forks source link

Only run CI on pushes to master #37

Closed sshine closed 3 years ago

sshine commented 3 years ago

It appears that enabling CI for all branches and all PRs causes double runs on PRs. An example of this can be seen e.g. in #36. This commit changes so that only direct pushes to master, as well as any PRs (including ones that merge with other targets than master) trigger CI.

sshine commented 3 years ago

For reference, it can be witnessed in this PR that CI only triggers once with these changes.