From 66810b48a2f08061b7d46669087112e8dad640ea Mon Sep 17 00:00:00 2001 From: WANG Xuerui Date: Sat, 2 Nov 2024 21:03:39 +0800 Subject: [PATCH] ci: trigger workflow run on more paths --- .github/workflows/dist.yml | 4 ++++ .github/workflows/pr.yml | 10 ++++++++++ 2 files changed, 14 insertions(+) diff --git a/.github/workflows/dist.yml b/.github/workflows/dist.yml index ab91c89..0ff6aa6 100644 --- a/.github/workflows/dist.yml +++ b/.github/workflows/dist.yml @@ -6,6 +6,8 @@ on: - pyproject.toml - poetry.lock - '**.py' + - '.github/**' + - 'resources/**' - 'scripts/**' tags: - '*' @@ -14,6 +16,8 @@ on: - pyproject.toml - poetry.lock - '**.py' + - '.github/**' + - 'resources/**' - 'scripts/**' merge_group: types: [checks_requested] diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 656b7f5..7f613ca 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -4,11 +4,21 @@ on: push: paths: - pyproject.toml + - poetry.lock - '**.py' + - '.github/**' + - 'resources/**' + - 'scripts/**' + - 'tests/**' pull_request: paths: - pyproject.toml + - poetry.lock - '**.py' + - '.github/**' + - 'resources/**' + - 'scripts/**' + - 'tests/**' jobs: lint: