Bogdanp / django_dramatiq

A Django app that integrates with Dramatiq.
https://dramatiq.io
Other
331 stars 77 forks source link

Trigger GitHub Actions on PRs and commits to the main branch #128

Closed amureki closed 1 year ago

amureki commented 1 year ago

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).

amureki commented 1 year ago

@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. :)