CI: Switch PR back to paths-ignore (#12438)

Switch PR tests back to paths-ignore but include changes to `.github`
for all PRs rather than trying to figure out complicated
includes+excludes.  Changes to `.github` are relatively rare and should
not be a huge burden for the CI.
This commit is contained in:
Adriane Boyd 2023-03-17 10:01:49 +01:00 committed by GitHub
parent 4c5a3a2a7b
commit 5f72d6c836
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -21,21 +21,18 @@ on:
- ".github/workflows/**" - ".github/workflows/**"
pull_request: pull_request:
types: [opened, synchronize, reopened, edited] types: [opened, synchronize, reopened, edited]
paths: paths-ignore:
- "**" - "*.md"
- "!*.md" - "*.mdx"
- "!*.mdx" - "website/docs/**"
- "!website/docs/**" - "website/src/**"
- "!website/src/**" - "website/meta/*.tsx"
- "!website/meta/*.tsx" - "website/meta/*.mjs"
- "!website/meta/*.mjs" - "website/meta/languages.json"
- "!website/meta/languages.json" - "website/meta/site.json"
- "!website/meta/site.json" - "website/meta/sidebars.json"
- "!website/meta/sidebars.json" - "website/meta/type-annotations.json"
- "!website/meta/type-annotations.json" - "website/pages/**"
- "!website/pages/**"
- "!.github/workflows/**"
- ".github/workflows/tests.yml"
jobs: jobs:
validate: validate: