Skip to content

Scheduled Dependency Update #100

Scheduled Dependency Update

Scheduled Dependency Update #100

Workflow file for this run

name: Scheduled Dependency Update
on:
# run this workflow manually from the Actions tab
workflow_dispatch:
# every monday at 02:00
schedule:
- cron: '0 2 * * 1'
jobs:
dependency-update:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: '18'
cache: 'yarn'
- name: Upgrade dependencies
run: yarn upgrade --latest --caret
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
token: ${{ secrets.PERSONAL_ACCESS_TOKEN }}
branch: chore-dependency-update
delete-branch: true
title: 'chore: dependency update 🧹'
commit-message: 'chore: dependency update'
body: |
This PR was automatically created.
- All dependencies are updated to the latest version.
- This PR will be created every monday at 2am and the branch will be force pushed.
- If all checks are green, feel free to merge it.