Skip to content

Commit

Permalink
fix workflow failure with no git changes
Browse files Browse the repository at this point in the history
  • Loading branch information
LeoKle committed Sep 9, 2024
1 parent b321e23 commit fcb3d42
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,4 @@ jobs:
git config --local user.email "[email protected]"
git config --local user.name "GitHub Action"
git add .
git commit -m "Add generated files from main branch"
git push origin production
git diff-index --quiet HEAD || (git commit -a -m "Add generated files from main branch" --allow-empty && git push origin production)

0 comments on commit fcb3d42

Please sign in to comment.