-
Notifications
You must be signed in to change notification settings - Fork 1
43 lines (33 loc) · 936 Bytes
/
update-svgl-component.yml
File metadata and controls
43 lines (33 loc) · 936 Bytes
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
name: Update Svgl React Component
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Install Bun
uses: oven-sh/setup-bun@v1
- name: Install dependencies
run: bun i
- name: Fetch data
run: bun fetch
- name: Generate files
run: bun generate
- name: Format code
run: bun format
- name: Reset lockfile changes
run: git checkout -- bun.lockb
- name: Create Pull Request
uses: peter-evans/create-pull-request@v7
with:
branch: update-svgl
branch-suffix: timestamp
base: main
title: "chore: update svgl component"
commit-message: "chore: update svgl component"
delete-branch: true
token: ${{ secrets.GITHUB_TOKEN }}