Skip to content

Commit de7734d

Browse files
committed
➕ Add one condition to check about labels of PR. If it's dependency-bot, it doesn't run the CI after-process.
1 parent 3f51992 commit de7734d

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

.github/workflows/test_pyproject_ci_multi-tests_by_poetry.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ jobs:
107107

108108
all-test_codecov:
109109
# name: Organize and generate the testing report and upload it to Codecov
110+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'dependencies') }}
110111
needs: [run_unit-test, run_integration-test]
111112
uses: ./.github/workflows/rw_organize_test_cov_reports.yaml
112113
with:

.github/workflows/test_python_project_ci_multi-tests.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ jobs:
111111

112112
all-test_codecov:
113113
# name: Organize and generate the testing report and upload it to Codecov
114+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'dependencies') }}
114115
needs: [run_unit-test, run_integration-test]
115116
uses: ./.github/workflows/rw_organize_test_cov_reports.yaml
116117
with:

.github/workflows/test_python_project_ci_one-test.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ jobs:
9696
codecov_finish:
9797
# name: Organize and generate the testing report and upload it to Codecov
9898
# if: github.ref_name == 'release' || github.ref_name == 'master'
99+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'dependencies') }}
99100
needs: [unit-test_codecov]
100101
uses: ./.github/workflows/rw_upload_test_cov_report.yaml
101102
secrets:

0 commit comments

Comments
 (0)