From 0b85a52beeacc6079325a0cfe400273e628177a0 Mon Sep 17 00:00:00 2001 From: Nick Volynkin Date: Tue, 1 Jul 2025 16:26:46 +0300 Subject: [PATCH] [ci] Skip Cozystack tests on PRs that only change the docs - Skip long workflows on PRs that only change files inside `./docs` directory. - Not applicable to other docs in this repository, such as `packages/apps/**/*.md`, as they're part of the build. Signed-off-by: Nick Volynkin --- .github/workflows/pull-requests-release.yaml | 2 ++ .github/workflows/pull-requests.yaml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/pull-requests-release.yaml b/.github/workflows/pull-requests-release.yaml index 23056641..7b047474 100644 --- a/.github/workflows/pull-requests-release.yaml +++ b/.github/workflows/pull-requests-release.yaml @@ -3,6 +3,8 @@ name: "Releasing PR" on: pull_request: types: [closed] + paths-ignore: + - 'docs/**/*' # Cancel in‑flight runs for the same PR when a new push arrives. concurrency: diff --git a/.github/workflows/pull-requests.yaml b/.github/workflows/pull-requests.yaml index 989e9f49..416a4b3c 100644 --- a/.github/workflows/pull-requests.yaml +++ b/.github/workflows/pull-requests.yaml @@ -3,6 +3,8 @@ name: Pull Request on: pull_request: types: [labeled, opened, synchronize, reopened] + paths-ignore: + - 'docs/**/*' # Cancel in‑flight runs for the same PR when a new push arrives. concurrency: