From e1859e07a03d0afcc22e416178162befa87aeb78 Mon Sep 17 00:00:00 2001 From: Kevin Ingersoll Date: Thu, 21 Mar 2024 17:37:10 +0000 Subject: [PATCH] build: ignore docs for most CI things (#2506) --- .github/workflows/build.yml | 2 ++ .github/workflows/e2e.yml | 4 ++++ .github/workflows/examples.yml | 4 ++++ .github/workflows/prerelease.yml | 3 ++- .github/workflows/snapshot.yml | 2 ++ .github/workflows/templates.yml | 4 ++++ .github/workflows/test.yml | 4 ++++ 7 files changed, 22 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 17c98b7474..2f328afe0c 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -5,6 +5,8 @@ name: Build # because the release workflow includes a build+verify step. on: pull_request: + paths-ignore: + - "docs/**" jobs: build: diff --git a/.github/workflows/e2e.yml b/.github/workflows/e2e.yml index 7e05972ca7..09c4e8433b 100644 --- a/.github/workflows/e2e.yml +++ b/.github/workflows/e2e.yml @@ -4,7 +4,11 @@ on: push: branches: - main + paths-ignore: + - "docs/**" pull_request: + paths-ignore: + - "docs/**" jobs: main: diff --git a/.github/workflows/examples.yml b/.github/workflows/examples.yml index 8ebc2369d9..a825a38478 100644 --- a/.github/workflows/examples.yml +++ b/.github/workflows/examples.yml @@ -4,7 +4,11 @@ on: push: branches: - main + paths-ignore: + - "docs/**" pull_request: + paths-ignore: + - "docs/**" env: # Fix OOM errors with sourcemaps in phaser client diff --git a/.github/workflows/prerelease.yml b/.github/workflows/prerelease.yml index d07ea542b4..faae40b298 100644 --- a/.github/workflows/prerelease.yml +++ b/.github/workflows/prerelease.yml @@ -3,8 +3,9 @@ name: Prerelease 🚀 on: push: branches: - # Target main branch - "main" + paths-ignore: + - "docs/**" # Ensure only one workflow/job is publishing to npm at a time concurrency: publish-to-npm diff --git a/.github/workflows/snapshot.yml b/.github/workflows/snapshot.yml index 6e0317c522..d1b7f7910f 100644 --- a/.github/workflows/snapshot.yml +++ b/.github/workflows/snapshot.yml @@ -7,6 +7,8 @@ on: push: branches: - main + paths-ignore: + - "docs/**" # Ensure only one workflow/job is publishing to npm at a time concurrency: publish-to-npm diff --git a/.github/workflows/templates.yml b/.github/workflows/templates.yml index dfa26b9d35..77952b5065 100644 --- a/.github/workflows/templates.yml +++ b/.github/workflows/templates.yml @@ -4,7 +4,11 @@ on: push: branches: - main + paths-ignore: + - "docs/**" pull_request: + paths-ignore: + - "docs/**" env: # Fix OOM errors with sourcemaps in phaser client diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index d61aae167f..b925340edb 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,7 +4,11 @@ on: push: branches: - main + paths-ignore: + - "docs/**" pull_request: + paths-ignore: + - "docs/**" jobs: test: