use path-ignore instead of path for file filters

This commit is contained in:
David Paul Graham 2026-03-14 07:32:10 -04:00
parent 8b5c0dec55
commit e054016c90
No known key found for this signature in database
GPG key ID: ACDB045B782EF333

View file

@ -2,15 +2,15 @@ name: Lint & Test
on:
pull_request:
paths:
- ".github/workflows/*"
- "encrypted_fields/**/*"
- "package_test/**/*"
- "manage.py"
- "requirements.txt"
- "setup.py"
- "pyproject.toml"
paths-ignore:
- "LICENCE.txt"
- "**/*.md"
- ".pre-commit-config.yaml"
push:
paths-ignore:
- "LICENCE.txt"
- "**/*.md"
- ".pre-commit-config.yaml"
permissions:
contents: read