Browse Source

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.'
tags/v0.3.10-rc0
Philipp Oppermann haixuantao 11 months ago
parent
commit
7fc8466c0c
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      .github/workflows/ci.yml
  2. +1
    -1
      .github/workflows/pip-release.yml

+ 2
- 2
.github/workflows/ci.yml View File

@@ -5,8 +5,8 @@ on:
branches:
- main
pull_request:
paths:
- "!node-hub/**"
paths-ignore:
- "node-hub/**"
workflow_dispatch:

env:


+ 1
- 1
.github/workflows/pip-release.yml View File

@@ -17,7 +17,7 @@ on:
branches:
- main
pull_request:
paths:
paths-ignore:
- "!node-hub/**"

permissions:


Loading…
Cancel
Save