fastapi / full-stack-fastapi-template

Full stack, modern web application template. Using FastAPI, React, SQLModel, PostgreSQL, Docker, GitHub Actions, automatic HTTPS and more.
MIT License
28.04k stars 5.01k forks source link

Prevent actions from running when unrelated changes are made #1384

Open justin-p opened 1 month ago

justin-p commented 1 month ago

This change effectively prevents a playwright or a backend test from running when you for example update a README.md file.

Currently when updating certain files that do not effect the outcome of tests in anyway will trigger Actions to run regardless. To prevent unneeded credits being used or charges being made when this template is used on private repositories certain files have been added as a paths-ignore on relevant actions.