diff --git a/.github/workflows/test-asan.yml b/.github/workflows/test-asan.yml index 021747ace19a4b..f61f1ded974330 100644 --- a/.github/workflows/test-asan.yml +++ b/.github/workflows/test-asan.yml @@ -3,11 +3,14 @@ name: test-asan on: pull_request: types: [opened, synchronize, reopened, ready_for_review] - paths-ignore: - - '.mailmap' - - '**.md' - - 'AUTHORS' - - 'doc/**' + paths: + - '*' + - !'.mailmap' + - !'**.md' + - !'AUTHORS' + - !'doc/**' + - !'.github/*' + - '.github/workflows/test-asan.yml' push: branches: - master @@ -15,11 +18,14 @@ on: - canary - v[0-9]+.x-staging - v[0-9]+.x - paths-ignore: - - '.mailmap' - - '**.md' - - 'AUTHORS' - - 'doc/**' + paths: + - '*' + - !'.mailmap' + - !'**.md' + - !'AUTHORS' + - !'doc/**' + - !'.github/*' + - '.github/workflows/test-asan.yml' env: PYTHON_VERSION: '3.10' diff --git a/.github/workflows/test-linux.yml b/.github/workflows/test-linux.yml index b7dce4dd8a9672..1a5fb0733afe76 100644 --- a/.github/workflows/test-linux.yml +++ b/.github/workflows/test-linux.yml @@ -2,8 +2,14 @@ name: test-linux on: pull_request: - paths-ignore: - - "README.md" + paths: + - '*' + - !'.mailmap' + - !'**.md' + - !'AUTHORS' + - !'doc/**' + - !'.github/*' + - '.github/workflows/test-linux.yml' types: [opened, synchronize, reopened, ready_for_review] push: branches: @@ -12,8 +18,14 @@ on: - canary - v[0-9]+.x-staging - v[0-9]+.x - paths-ignore: - - "README.md" + paths: + - '*' + - !'.mailmap' + - !'**.md' + - !'AUTHORS' + - !'doc/**' + - !'.github/*' + - '.github/workflows/test-linux.yml' env: PYTHON_VERSION: '3.10' diff --git a/.github/workflows/test-macos.yml b/.github/workflows/test-macos.yml index 6c5e3ab310cb27..16c67b2840488b 100644 --- a/.github/workflows/test-macos.yml +++ b/.github/workflows/test-macos.yml @@ -3,11 +3,14 @@ name: test-macOS on: pull_request: types: [opened, synchronize, reopened, ready_for_review] - paths-ignore: - - '.mailmap' - - '**.md' - - 'AUTHORS' - - 'doc/**' + paths: + - '*' + - !'.mailmap' + - !'**.md' + - !'AUTHORS' + - !'doc/**' + - !'.github/*' + - '.github/workflows/test-macos.yml' push: branches: - master @@ -15,11 +18,14 @@ on: - canary - v[0-9]+.x-staging - v[0-9]+.x - paths-ignore: - - '.mailmap' - - '**.md' - - 'AUTHORS' - - 'doc/**' + paths: + - '*' + - !'.mailmap' + - !'**.md' + - !'AUTHORS' + - !'doc/**' + - !'.github/*' + - '.github/workflows/test-macos.yml' env: PYTHON_VERSION: '3.10'