Update Svgl React Component #357
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 }} |