Skip to content

Commit

Permalink
fix using force push
Browse files Browse the repository at this point in the history
  • Loading branch information
f-peverali committed Oct 4, 2024
1 parent c0b015a commit 43ab121
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ToolUpdate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:
# Commit and push the changes to a new branch
git config --global user.name 'github-actions[bot]'
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
git checkout -b update-dependency-$LATEST_VERSION
git checkout -b update-dependency-$LATEST_VERSION || git checkout update-dependency-$LATEST_VERSION
git add .github/PULL_REQUEST_TEMPLATE/PR_Template_VersionUpgrade.md .github/workflows/main.yml
git commit -m "Update dependency to version $LATEST_VERSION"
git push origin update-dependency-$LATEST_VERSION
git push -f origin update-dependency-$LATEST_VERSION

0 comments on commit 43ab121

Please sign in to comment.