Skip to content

.github/workflows/check-for-updates.yaml #5

.github/workflows/check-for-updates.yaml

.github/workflows/check-for-updates.yaml #5

on:
workflow_dispatch:
schedule:
- cron: "0 * * * *"
jobs:
check-for-updates:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Node.js
uses: actions/setup-node@v3
with:
node-version: "20.x"
- name: Enable PNPM
run: corepack enable pnpm
- name: Install dependencies
run: pnpm install
- name: Fetch versions
run: pnpm run build:version
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: Directs updates
branch: automation/auto-update
delete-branch: true