hullcss-discord-bot/.github/workflows/yarn-upgrader.yml

29 lines
690 B
YAML
Raw Normal View History

2023-01-09 09:58:27 +00:00
name: Run Yarn Upgrader
2023-01-05 08:02:08 +00:00
on:
workflow_dispatch:
schedule:
2023-01-09 09:58:27 +00:00
- cron: '0 */12 * * *'
2023-01-05 08:02:08 +00:00
jobs:
2023-01-09 09:58:27 +00:00
build:
2023-01-05 08:02:08 +00:00
runs-on: ubuntu-latest
steps:
2023-01-09 09:58:27 +00:00
- uses: actions/checkout@v3.3.0
2023-01-05 08:02:08 +00:00
2023-01-09 09:58:27 +00:00
- uses: actions/setup-node@v3.6.0
2023-01-05 08:02:08 +00:00
with:
2023-01-09 09:58:27 +00:00
node-version: 19.x
2023-01-05 08:02:08 +00:00
2023-01-09 09:58:27 +00:00
# Run `yarn upgrade`
- uses: browniebroke/yarn-upgrade-action@v1.1
2023-01-05 08:02:08 +00:00
2023-01-09 09:58:27 +00:00
# Open a pull request if there are any changes
2023-01-05 08:02:08 +00:00
- name: Create Pull Request
2023-01-09 09:58:27 +00:00
uses: peter-evans/create-pull-request@v4.2.3
2023-01-05 08:02:08 +00:00
with:
2023-01-09 09:58:27 +00:00
token: ${{ secrets.GITHUB_TOKEN }}
branch: update/yarn-upgrade
title: 'chore(deps): Run yarn upgrade'
commit-message: 'chore(deps): Run yarn upgrade'