Update library #123
This file contains 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 library | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.ref }} | |
cancel-in-progress: true | |
on: | |
schedule: | |
- cron: "0 0 * * *" | |
push: | |
paths-ignore: | |
- "src/**" | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
check-proposals: | |
name: Check if library is up to date | |
runs-on: ubuntu-latest | |
permissions: | |
pull-requests: write | |
contents: write | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn install --frozen-lockfile | |
- name: Generate library | |
run: yarn generate | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@712add83f26c1e359c046a6ca3dd677fb7017626 | |
with: | |
committer: Cache-bot <noreply@github.com> | |
commit-message: "chore(cache): automated cache update" | |
delete-branch: true | |
title: "chore(cache): automated cache update" |