Existing action was triggered only on push, which I presume works only for code maintainers.
This PR changes behaviour to also trigger on new pull requests (same logic as we have in model_bakery)
I also updated job name to better reflect what is it for (for example, later we could also introduce release.yml for automatic PyPI releases from GitHub actions).
@Bogdanp following your comment in #126 I did update GitHub actions trigger. Now it is different and waits for your approval, which is definitely a step forward. :)
Existing action was triggered only on push, which I presume works only for code maintainers. This PR changes behaviour to also trigger on new pull requests (same logic as we have in model_bakery)
I also updated job name to better reflect what is it for (for example, later we could also introduce release.yml for automatic PyPI releases from GitHub actions).