Skip to content

Commit

Permalink
Notify for setup.py changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jianjie Liu committed Oct 7, 2021
1 parent c973907 commit 9fafe5e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/pr-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ 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 ##################
Expand Down

0 comments on commit 9fafe5e

Please sign in to comment.