add file filter for github actions lint-and-test workflow

This commit is contained in:
David Paul Graham 2026-03-07 17:01:40 -05:00
parent 504df2835b
commit d20b79cfc0
No known key found for this signature in database
GPG key ID: ACDB045B782EF333

View file

@ -1,6 +1,16 @@
name: Lint & Test
on: [push, pull_request]
on:
pull_request:
paths:
- '.github/workflows/*'
- 'encrypted_fields/**/*'
- 'package_test/**/*'
- 'manage.py'
- 'requirements.txt'
- 'setup.py'
- 'pyproject.toml'
push:
permissions:
contents: read