netlify / gotrue

An SWT based API for managing users and issuing SWT tokens.
https://www.gotrueapi.org
MIT License
3.88k stars 287 forks source link

ci: run test action on PRs or pushes to master branch/tags #247

Closed erezrokah closed 4 years ago

erezrokah commented 4 years ago

https://github.com/netlify/gotrue/pull/240 migrated from Travis CI to GitHub actions, but as a result the test action is running twice for each open pull request, once for the push event and once for the PR event. This fixes that.

You can see the duplicate actions in https://github.com/netlify/gotrue/pull/243: image