PyPi Publish runs twice
Closed this issue · 0 comments
JohnnyIrvin commented
PyPi Publish runs twice when a new version is released
Describe the bug
When a new version is released, the PyPi Publish action runs twice instead of running only once.
To Reproduce
Steps to reproduce the behavior:
- Make changes to code and createa pull request.
- Have the pull requested merged.
- Check the Actions tab for the repository.
- Notice that "PyPi Publish" action runs twice.
Expected behavior
The "PyPi Publish" action should run only once when a new version is released.
Additional context
It appears that the action is triggered twice, once for the tag and once for the branch. It should only run for the tag.