generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 0
62 lines (59 loc) · 1.96 KB
/
update.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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
# yaml-language-server: $schema=https://json.schemastore.org/github-workflow.json
name: update
on:
schedule:
- cron: '0 0 * * *'
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
jobs:
download:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- uses: unlike-ltd/github-actions/setup-pnpm@4f6c1e5b04525aa73e680f900c9f588f868735e3 #v1.0.0
with:
node-version: 20
- name: cli download payloads
run: pnpm run download
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 #v5.0.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'chore: update payloads'
branch: 'chore/update-payloads'
delete-branch: true
title: 'chore: update payloads'
body: |
This is an automated PR to update payloads.
types:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 #v4.1.1
- uses: unlike-ltd/github-actions/setup-pnpm@4f6c1e5b04525aa73e680f900c9f588f868735e3 #v1.0.0
with:
node-version: 20
- name: cli all
run: pnpm run tsc:types
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 #v5.0.2
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'chore: update types'
branch: 'chore/types'
delete-branch: true
title: 'chore: update types'
body: |
This is an automated PR to update generated types.