mirror of
https://github.com/peter-evans/dockerhub-description.git
synced 2024-11-25 21:49:33 +01:00
31 lines
948 B
YAML
31 lines
948 B
YAML
name: Update Dependencies
|
|
on:
|
|
schedule:
|
|
- cron: '0 1 * * 4'
|
|
jobs:
|
|
update-dep:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@v2
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: '12.x'
|
|
- name: Update dependencies
|
|
run: |
|
|
npx -p npm-check-updates ncu -u
|
|
npm install
|
|
- name: Create Pull Request
|
|
uses: peter-evans/create-pull-request@v3
|
|
with:
|
|
token: ${{ secrets.ACTIONS_BOT_TOKEN }}
|
|
commit-message: 'chore: update dependencies'
|
|
committer: GitHub <noreply@github.com>
|
|
author: actions-bot <actions-bot@users.noreply.github.com>
|
|
title: Update dependencies
|
|
body: |
|
|
- Dependency updates
|
|
|
|
Auto-generated by [create-pull-request][1]
|
|
|
|
[1]: https://github.com/peter-evans/create-pull-request
|
|
branch: update-dependencies
|