Weekly jobs #59
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: Weekly jobs | |
on: | |
workflow_dispatch: | |
schedule: | |
# Runs every Monday at 12 | |
- cron: '0 12 * * 1' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@3df4ab11eba7bda6032a0b82a6bb43b11571feac # v4 | |
- name: Setup Node | |
uses: actions/setup-node@v3 | |
with: | |
node-version: lts/* | |
cache: yarn | |
- run: yarn install | |
- name: Run typegen | |
run: yarn run generate:docs | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
branch: update-documentation | |
delete-branch: true | |
commit-message: 'chore(docs): run typegen' | |
title: 'chore(docs): run typegen' | |
body: 'This is automatically created by weekly scheduled jobs.' |