From 28d138d104e1d1b43590125f27f84a4cb109925b Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Fri, 21 Feb 2020 22:33:10 +0100 Subject: [PATCH] :wrench: push bit only on source change --- .github/workflows/bot.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml index d8e75d89..dcafa513 100644 --- a/.github/workflows/bot.yml +++ b/.github/workflows/bot.yml @@ -17,6 +17,7 @@ jobs: run: | git clone https://github.com/fennecdjay/gwion-cinch-bot cd gwion-cinch-bot + [ -z "$(git diff "HEAD^" src)" ] && exit 0 git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git commit --allow-empty -m "update gwion" -- 2.43.0