-
Notifications
You must be signed in to change notification settings - Fork 9
47 lines (40 loc) · 1.1 KB
/
update-protos.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
42
43
44
45
46
47
name: Update protos
on:
workflow_dispatch:
schedule:
- cron: 0 8 * * 1
jobs:
update-protos:
name: Update protos
runs-on: ubuntu-latest
steps:
- name: Check out code
uses: actions/checkout@v4
- name: Install Buf
uses: bufbuild/[email protected]
with:
github_token: ${{ github.token }}
- name: Set up Node.js
uses: ./.github/actions/setup-node
- name: Update protos
run: pnpm run proto
- name: Generate code
run: pnpm run generate
- name: Create pull request
uses: peter-evans/create-pull-request@v7
with:
branch: update-protos
draft: always-true
reviewers: haines
signoff: true
sign-commits: true
commit-message: |-
chore: Update protos
title: |-
chore: Update protos
body: |-
This PR updates protos and regenerates code.
add-paths: |-
packages/*/src/protobuf/**/*.ts
private/*/src/protobuf/**/*.ts
proto/**/*.proto