generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 0
64 lines (61 loc) · 2.02 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
63
64
# 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@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- uses: andykenward/github-actions/setup-pnpm@b1f379eaf1cb5bd7f384d2a53e501c2d881eed4f #v1.0.2
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@5e914681df9dc83aa4e4905692ca88beb2f9e91f #v7.0.5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'chore: update payloads'
sign-commits: true
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@11bd71901bbe5b1630ceea73d27597364c9af683 #v4.2.2
- uses: andykenward/github-actions/setup-pnpm@b1f379eaf1cb5bd7f384d2a53e501c2d881eed4f #v1.0.2
with:
node-version: 20
- name: cli all
run: pnpm run tsc:types
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@5e914681df9dc83aa4e4905692ca88beb2f9e91f #v7.0.5
with:
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: 'chore: update types'
sign-commits: true
branch: 'chore/types'
delete-branch: true
title: 'chore: update types'
body: |
This is an automated PR to update generated types.