Skip to content

Commit fa30535

Browse files
committed
ci: check for updated built-ins
1 parent a3c734a commit fa30535

File tree

2 files changed

+43
-0
lines changed

2 files changed

+43
-0
lines changed

.github/workflows/CHECK_UPDATE.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: CHECK_UPDATE
2+
on:
3+
workflow_dispatch:
4+
schedule:
5+
- cron: '17 9 * * 2' # Every Tuesday at 9:17 AM (random time to distribute load)
6+
jobs:
7+
build:
8+
strategy:
9+
matrix:
10+
os: [ ubuntu-latest ]
11+
node-version: [ 20 ]
12+
13+
runs-on: ${{ matrix.os }}
14+
15+
steps:
16+
- name: Checkout
17+
uses: actions/checkout@v4
18+
- name: Use Node.js
19+
uses: actions/setup-node@v4
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
cache: 'npm'
23+
- name: Install dependencies
24+
run: npm ci
25+
- name: Setup project
26+
uses: bpmn-io/actions/setup@latest
27+
- name: Checkout camunda-docs
28+
uses: actions/checkout@v4
29+
with:
30+
repository: camunda/camunda-docs
31+
path: camunda-docs
32+
- name: Update builtins
33+
run: npm run compile-builtins
34+
- name: All
35+
run: npm run all
36+
- name: Create PRs automatically
37+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # v7.0.8
38+
with:
39+
commit-message: 'chore: update builtins'
40+
branch: update-builtins
41+
title: 'Update builtins'
42+
body: |
43+
:robot: Automated PR to update builtin functions
File renamed without changes.

0 commit comments

Comments
 (0)