mirror of
https://github.com/louislam/uptime-kuma.git
synced 2026-03-13 09:52:49 +08:00
fix: npm dependency update GitHub workflow (#6970)
This commit is contained in:
6
.github/workflows/npm-update.yml
vendored
6
.github/workflows/npm-update.yml
vendored
@@ -5,7 +5,9 @@ on:
|
||||
schedule:
|
||||
- cron: "0 0 * * *" # Run daily at midnight UTC
|
||||
|
||||
permissions: {}
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
|
||||
jobs:
|
||||
npm-update:
|
||||
@@ -29,7 +31,7 @@ jobs:
|
||||
node-version: 20
|
||||
|
||||
- name: Run npm update
|
||||
run: npm update
|
||||
run: npm update --package-lock-only
|
||||
|
||||
- name: Check if there are changes
|
||||
id: check_changes
|
||||
|
||||
Reference in New Issue
Block a user