From 7fc8466c0ce926fdc63122c5d19f94c4fa88c090 Mon Sep 17 00:00:00 2001 From: Philipp Oppermann Date: Thu, 13 Feb 2025 13:12:42 +0100 Subject: [PATCH] Use `paths-ignore` instead of negated `paths` The GitHub workflow docs specify: 'If you define a path with the ! character, you must also define at least one path without the ! character. If you only want to exclude paths, use paths-ignore instead.' --- .github/workflows/ci.yml | 4 ++-- .github/workflows/pip-release.yml | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8929b598..4cee1692 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,8 +5,8 @@ on: branches: - main pull_request: - paths: - - "!node-hub/**" + paths-ignore: + - "node-hub/**" workflow_dispatch: env: diff --git a/.github/workflows/pip-release.yml b/.github/workflows/pip-release.yml index 5834fb93..c32bbede 100644 --- a/.github/workflows/pip-release.yml +++ b/.github/workflows/pip-release.yml @@ -17,7 +17,7 @@ on: branches: - main pull_request: - paths: + paths-ignore: - "!node-hub/**" permissions: