-
Notifications
You must be signed in to change notification settings - Fork 0
44 lines (35 loc) · 1.01 KB
/
codegen.yml
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
42
43
44
name: Echos Registry Codegen
on:
push:
branches: ["main"]
jobs:
codegen:
runs-on: ubuntu-latest
permissions:
contents: write # Allows the action to create a pull request
pull-requests: write # For creating/updating pull requests
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: v20.17.0
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: latest
- name: Install dependencies
run: pnpm install
- name: Run codegen
run: pnpm build:codegen
- name: Create Pull Request
uses: peter-evans/create-pull-request@v6
with:
commit-message: "chore: regenerate entry file"
title: "Regenerate entry file"
body: "Auto-generated PR after changes in src/agents directory"
branch: "chore/auto-codegen"
base: main
delete-branch: true