From 4e21690c18831955273eb85efe851d977d16959f Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9mie=20Astor?= Date: Sun, 16 Feb 2020 15:23:24 +0100 Subject: [PATCH] :wrench: Add bot action --- .github/workflows/bot.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/bot.yml diff --git a/.github/workflows/bot.yml b/.github/workflows/bot.yml new file mode 100644 index 00000000..adc8f35f --- /dev/null +++ b/.github/workflows/bot.yml @@ -0,0 +1,24 @@ + +name: Update Bot + +on: + push: + branches: + - 'master' + +jobs: + build: + name: Push to bot repo + runs-on: ubuntu-latest + if: "!contains(github.event.head_commit.message, '[skip ci]')" + + steps: + - name: Clone and push + run:| + git clone https://github.com/fennecdjay/gwion-cinch-bot + cd gwion-cinch-bot + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" + git commit --allow-empty -m "update gwion" + git remote set-url origin https://${{ secrets.GWION_BOT }}@github.com/fennecdjay/gwion-cinch-bot.git + git push -- 2.43.0