Update properties if necessary #1205
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 properties if necessary | |
on: | |
workflow_dispatch: {} | |
schedule: | |
- cron: 0 0 * * * | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: corepack enable | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Build the code | |
run: yarn build | |
- name: Update properties from mafia source | |
run: yarn run updateProps | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
commit-message: Update property types automatically | |
title: Automated updates to property typings | |
body: This is an automatically generated PR with updates to the typings of properties from KoLmafia that libram maintains. | |
branch: automatic-property-type-updates |