Skip to content

Commit be410f1

Browse files
committed
changes to ga
1 parent 55ab1a6 commit be410f1

File tree

2 files changed

+12
-4
lines changed

2 files changed

+12
-4
lines changed

.github/workflows/generate_other_formats.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,5 +66,9 @@ jobs:
6666
git add jsonld-context-autogen/*.context.jsonld
6767
git add models_py-autogen/*.py
6868
git add erdiagram-autogen/*.md
69-
git commit -m "generate another formats"
70-
git push
69+
if ! git diff --quiet; then
70+
git commit -m "generate another formats"
71+
git push
72+
else
73+
echo "No changes to commit"
74+
fi

.github/workflows/generate_yaml_model.yaml

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,9 @@ jobs:
4444
git config --local user.name "GitHub Action"
4545
git add linkml-schema/library_generation.yaml
4646
git add linkml-schema/source_library_generation/gsheet_output
47-
git commit -m "generate library_generation yaml file"
48-
git push
47+
if ! git diff --quiet; then
48+
git commit -m "generate new yaml file"
49+
git push
50+
else
51+
echo "No changes to commit"
52+
fi

0 commit comments

Comments
 (0)