npm-update-bot.yml: revert: only push on master from wg-easy

This commit is contained in:
Philip H 2024-01-05 09:53:14 +01:00 committed by GitHub
parent 924e0b0353
commit cea05caa53
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 3 deletions

View File

@ -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