-
-
Notifications
You must be signed in to change notification settings - Fork 1
41 lines (36 loc) · 1.14 KB
/
update-check.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Update Check
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * *"
jobs:
update-check:
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
- id: version
name: Fetch versions
run: pnpm run build:version
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
title: Add missing versions (${{ steps.version.outputs.versions_inline }})
committer: Black Rabbit <[email protected]>
commit-message: "adds missing versions - ${{ steps.version.outputs.versions_inline }}"
body: |
# Automatic Update Check
This PR adds missing Directus versions to versions.json file.
## Versions
${{ steps.version.outputs.versions_markdown }}
branch: automation/autoupdate
delete-branch: true
assignees: hermesalvesbr,wolfulus