From 5f72d6c83605d391550c3a992d7e772440501b07 Mon Sep 17 00:00:00 2001 From: Adriane Boyd Date: Fri, 17 Mar 2023 10:01:49 +0100 Subject: [PATCH] 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. --- .github/workflows/tests.yml | 27 ++++++++++++--------------- 1 file changed, 12 insertions(+), 15 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index c18f9cd23..eef24ff33 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -21,21 +21,18 @@ on: - ".github/workflows/**" pull_request: types: [opened, synchronize, reopened, edited] - paths: - - "**" - - "!*.md" - - "!*.mdx" - - "!website/docs/**" - - "!website/src/**" - - "!website/meta/*.tsx" - - "!website/meta/*.mjs" - - "!website/meta/languages.json" - - "!website/meta/site.json" - - "!website/meta/sidebars.json" - - "!website/meta/type-annotations.json" - - "!website/pages/**" - - "!.github/workflows/**" - - ".github/workflows/tests.yml" + paths-ignore: + - "*.md" + - "*.mdx" + - "website/docs/**" + - "website/src/**" + - "website/meta/*.tsx" + - "website/meta/*.mjs" + - "website/meta/languages.json" + - "website/meta/site.json" + - "website/meta/sidebars.json" + - "website/meta/type-annotations.json" + - "website/pages/**" jobs: validate: