Repository: JohnnyIrvin/shell-craft (language: python)

Issue:
PyPi Publish runs twice
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.

Unit Test Pipeline Runs on Push Instead of Pull Request
The unit test pipeline is running on push instead of pull request

**Describe the bug**
The unit test pipeline is running on push instead of pull request. This causes the tests to run on every push, which slows down the workflow unnecessarily. It should only run on pull request.

**To Reproduce**
Steps to reproduce the behavior:
1. Create a new branch
2. Make a change to the code
3. Push the changes to the branch
4. The unit test pipeline runs
5. Merge the branch
6. The unit test pipeline runs.

**Expected behavior**
The unit test pipeline should only run when a pull request and when that pull request is modified. Not every push.



Discussion / hints:

Fix patch:
diff --git a/.github/workflows/semver-bump.yml b/.github/workflows/semver-bump.yml
index c6ab2eb..83b8783 100644
--- a/.github/workflows/semver-bump.yml
+++ b/.github/workflows/semver-bump.yml
@@ -49,7 +49,7 @@ jobs:
           git config --global user.name "Johnathan Irvin"
           git remote set-url origin https://x-access-token:${{ secrets.PAT }}@github.com/johnnyirvin/shell-craft.git
           git add pyproject.toml
-          git commit -m "chore(version): Bump version to v${{ env.NEW_VERSION }}"
+          git commit -m "chore(version): Bump version to v${{ env.NEW_VERSION }} [skip ci]"
           git push
           echo "Committed version bump to ${{ env.NEW_VERSION }}"
         if: ${{ env.NEW_VERSION != env.VERSION }}


Test patch:
diff --git a/.github/workflows/unit-tests-run.yml b/.github/workflows/unit-tests-run.yml
index aa107aa..c6f9611 100644
--- a/.github/workflows/unit-tests-run.yml
+++ b/.github/workflows/unit-tests-run.yml
@@ -1,6 +1,10 @@
 name: Python package
 
-on: [push]
+
+on:
+  pull_request:
+    branches:
+      - trunk
 
 jobs:
   build: