-
-
Notifications
You must be signed in to change notification settings - Fork 0
37 lines (31 loc) · 1.08 KB
/
update-generated.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
name: "Update generated"
on: [push, workflow_dispatch]
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
submit-changes:
runs-on: ubuntu-latest
steps:
- name: Execute script
uses: michijs/.github/.github/actions/execute-script@main
with:
script-name: "start"
github_token: ${{ secrets.GITHUB_TOKEN }}
# Configure Git
- name: Git configuration
uses: michijs/.github/.github/actions/set-git-config-github-actions@main
- name: Run formatter
uses: michijs/.github/.github/actions/lint@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
# Commit changes
- name: Commit changes
uses: michijs/.github/.github/actions/commit-if-changes@main
with:
message: "Updated generated types"
# Push repository changes
- name: Push changes
uses: michijs/.github/.github/actions/pull-and-push@main
with:
github_token: ${{ secrets.GITHUB_TOKEN }}