From 6b0f28ee20c5b4d02b88b23f29a310e084d550d9 Mon Sep 17 00:00:00 2001 From: Jianjie Liu Date: Thu, 7 Oct 2021 20:09:58 +0000 Subject: [PATCH] Notify for setup.py changes --- .github/workflows/pr-gate.yml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/.github/workflows/pr-gate.yml b/.github/workflows/pr-gate.yml index 079f83f5e5..7c30f1c6d5 100644 --- a/.github/workflows/pr-gate.yml +++ b/.github/workflows/pr-gate.yml @@ -70,13 +70,14 @@ jobs: with: files: setup.py - - name: Raise warning for changes in 'setup.py' + - name: Raise notice for changes in 'setup.py' # Throws a new release notice if there are changes in 'setup.py' if: | github.base_ref == 'main' && - steps.changed-files-specific.outputs.any_changed == 'true' - run: | - echo "::notice file=setup.py,title=A new release may be needed::Changes detected in 'setup.py'. Please examine if a new release on PyPI is needed" + steps.setup-dot-py-changed.outputs.any_changed == 'true' + run: > + echo "::notice file=setup.py,title=A new release may be needed::Changes detected in 'setup.py'. + Please examine if a new release on PyPI is needed." ############################################### ################## CPU-BUILD ##################