full-stack-fastapi-template icon indicating copy to clipboard operation
full-stack-fastapi-template copied to clipboard

👷 Prevent GH-actions from running when unrelated changes are made

Open justin-p opened this issue 1 year ago • 2 comments

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.

justin-p avatar Oct 03 '24 08:10 justin-p

@justin-p, thanks for this idea!

Why don't we just specify path to include for lint-backend and test-backend?

    paths:
      - 'backend/**'

YuriiMotov avatar Sep 04 '25 16:09 YuriiMotov

I think we can also ignore frontend/** for backend linting. Anything else?

YuriiMotov avatar Oct 10 '25 06:10 YuriiMotov