Skip to content

Commit

Permalink
exit if there are no changes
Browse files Browse the repository at this point in the history
  • Loading branch information
aignas committed Feb 16, 2024
1 parent 1ed6811 commit 32b2554
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .github/workflows/examples_build_file_generation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ jobs:
- name: Update gazelle manifest
working-directory: examples/build_file_generation
run: |
if ! git diff --exit-code gazelle_python.yaml >/dev/null; exit 0; fi
git config --global user.email "[email protected]"
git config --global user.name "GH action"
git add gazelle_python.yaml
Expand Down

0 comments on commit 32b2554

Please sign in to comment.