Skip to content

Commit

Permalink
Update update_foops_badge.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
jsimonclark authored Jun 23, 2024
1 parent 64cb40b commit 8ee2dd4
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/update_foops_badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,11 @@ jobs:
git config --local user.email "${{ env.GIT_USER_EMAIL }}"
git config --local user.name "${{ env.GIT_USER_NAME }}"
- name: Commit any changes before pulling
run: |
git add -A
git diff --staged --quiet || git commit -m "Stash changes before pull"
- name: Pull latest changes
run: git pull origin master --rebase

Expand Down

0 comments on commit 8ee2dd4

Please sign in to comment.