Skip to content

Commit

Permalink
Merge pull request #12 from awhipp/bugfix/force_push_for_gh_runner
Browse files Browse the repository at this point in the history
fix: 💚 Adding force push flag to bump_version job
  • Loading branch information
awhipp authored Mar 13, 2024
2 parents a7c9718 + 6dccf84 commit d467e2e
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/bump_version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ jobs:
run: python -m poetry install

- name: Analyze Commit Messages and Bump Version
env:
GH_USER_EMAIL: ${{ secrets.GH_USER_EMAIL }}
GH_USER_NAME: ${{ secrets.GH_USER_NAME }}
run: |
# Custom script to analyze commit messages and determine version bump
## Stored in .github/analyze_git_history.py
Expand All @@ -58,7 +55,7 @@ jobs:
# Commit the version change
git add pyproject.toml
git config --global user.email "$GH_USER_EMAIL"
git config --global user.name "$GH_USER_NAME"
git config --global user.email "[email protected]"
git config --global user.name "Github Action Runner"
git commit -m "chore: Bump version ($version_bump)"
git push origin main

0 comments on commit d467e2e

Please sign in to comment.