![GitHub Actions: avoid double runs from on: [push, pull_request]](/static/screenshots/1200x540/github.com!model-bakers!model_bakery.b477db59a9cb.jpg)
GitHub Actions: avoid double runs from on: [push, pull_request]
May 23, 2025
|
Articles
Using separate rules for GitHub actions events prevents redundant CI runs when both push and pull_request triggers fire, reducing costs, delays, and flaky failures.
Filed in:
Articles

Sponsor Number One
Subscribe to Django News
Weekly Django news, articles, projects, and more. Curated by Jeff Triplett & William Vincent.
No spam, ever. We'll never share your email address and you can opt out at any time.