From 4f4ed0968028845dd192d6c3b9ea79879bea1b43 Mon Sep 17 00:00:00 2001 From: AllyW Date: Thu, 11 Apr 2024 17:17:42 +0800 Subject: [PATCH] change trigger condition (#7482) --- .github/workflows/VersionCalPRComment.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/VersionCalPRComment.yml b/.github/workflows/VersionCalPRComment.yml index 1e10f8a5480..e844cf09be8 100644 --- a/.github/workflows/VersionCalPRComment.yml +++ b/.github/workflows/VersionCalPRComment.yml @@ -8,13 +8,14 @@ on: - main paths: - '**.py' + - '!**/test_*.py' permissions: pull-requests: write jobs: version-cal: - if: contains(github.event.pull_request.labels.*.name, 'auto-cal-version') + if: ${{ !contains(github.event.pull_request.labels.*.name, 'skip-cal-version') }} runs-on: ubuntu-latest steps: - name: Set Init Version Message