Update update_NDM.yml
one more change for only updating when a diff is made
This commit is contained in:
parent
149bab777f
commit
4bac7eb7e6
1 changed files with 1 additions and 1 deletions
2
.github/workflows/update_NDM.yml
vendored
2
.github/workflows/update_NDM.yml
vendored
|
@ -30,7 +30,7 @@ jobs:
|
|||
git config user.name $GITHUB_ACTOR
|
||||
git config user.email $GITHUB_ACTOR@users.noreply.github.com
|
||||
change=`git diff`
|
||||
if [ "$change" -ge 1 ]
|
||||
if [[ ! -z "$change" ]]
|
||||
then
|
||||
git add --all
|
||||
git commit -m "New NDM updates on $date - autogenerated"
|
||||
|
|
Loading…
Add table
Reference in a new issue