]> Nishi Git Mirror - gwion.git/commitdiff
:wrench: push bot only on source change
authorJérémie Astor <astor.jeremie@wanadoo.fr>
Fri, 21 Feb 2020 21:34:50 +0000 (22:34 +0100)
committerJérémie Astor <astor.jeremie@wanadoo.fr>
Fri, 21 Feb 2020 21:34:56 +0000 (22:34 +0100)
.github/workflows/bot.yml

index dcafa513d3a5a6651722b01bf828cfadb1cc4885..75eeb544831feb6c6829f51c6c5d8d1c114152b5 100644 (file)
@@ -17,7 +17,7 @@ jobs:
       run: |
         git clone https://github.com/fennecdjay/gwion-cinch-bot
         cd gwion-cinch-bot
-        [ -z "$(git diff "HEAD^" src)" ] && exit 0
+        [ -z "$(git diff "HEAD^" src ast util)" ] && exit 0
         git config --local user.email "action@github.com"
         git config --local user.name "GitHub Action"
         git commit --allow-empty -m "update gwion"