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 ab0e1c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pr-gate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ 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'
steps.setup-dot-py-changed.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"
Expand Down

0 comments on commit ab0e1c9

Please sign in to comment.