Skip to content

Commit

Permalink
actions: npm-update adjustments
Browse files Browse the repository at this point in the history
- Run the job daily, just like cockpituous does (roughly, it was much
   more probabilistic). Each run will only create one PR at most, so
   with weekly we would miss or drag out important updates.

 - Drop verbosity. It was useful for rolling this out, but it's prone to
   expose secrets, and not very interesting as a run is rather simple to
   reproduce locally.

Closes cockpit-project#158
  • Loading branch information
martinpitt committed Oct 20, 2020
1 parent 6bc6fb5 commit ca2e429
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/npm-update.yml
@@ -1,8 +1,7 @@
name: npm-update
on:
# weekly automatic update on early Tuesday morning (before release day)
schedule:
- cron: '50 2 * * 2'
- cron: '0 2 * * *'
# can be run manually on https://github.com/cockpit-project/cockpit-ostree/actions
workflow_dispatch:
jobs:
Expand All @@ -23,4 +22,4 @@ jobs:
- name: Run npm-update bot
run: |
make bots
bots/npm-update --verbose
bots/npm-update

0 comments on commit ca2e429

Please sign in to comment.