Skip to content

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

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

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

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: New Directus version available
committer: Black Rabbit <[email protected]>
commit-message: add new directus version
body: Automated check for new Directus versions
branch: automation/auto-update
branch-suffix: timestamp
delete-branch: true