JohnnyIrvin/shell-craft

PyPi Publish runs twice

Closed this issue · 0 comments

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:

  1. Make changes to code and createa pull request.
  2. Have the pull requested merged.
  3. Check the Actions tab for the repository.
  4. 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.