From cea05caa53b15a2ff02f150412a04742a122b138 Mon Sep 17 00:00:00 2001 From: Philip H <47042125+pheiduck@users.noreply.github.com> Date: Fri, 5 Jan 2024 09:53:14 +0100 Subject: [PATCH] npm-update-bot.yml: revert: only push on master from wg-easy --- .github/workflows/npm-update-bot.yml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/npm-update-bot.yml b/.github/workflows/npm-update-bot.yml index 824fcba0..c60ec6d3 100644 --- a/.github/workflows/npm-update-bot.yml +++ b/.github/workflows/npm-update-bot.yml @@ -1,6 +1,8 @@ name: NPM Update Bot 🤖 on: + push: + branches: [ "wg-easy:master" ] schedule: - cron: "0 0 * * *" @@ -24,9 +26,6 @@ jobs: - name: Bot 🤖 "Updating NPM Packages..." run: | npm install -g --silent npm-check-updates - git clone --depth 1 --quiet https://github.com/wg-easy/wg-easy.git - cd wg-easy - git checkout master ncu -u npm update cd src