Update properties if necessary #63
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@v2 | |
- name: Install dependencies | |
run: yarn --cwd client | |
- name: Update properties from mafia source | |
run: yarn --cwd client run updateDefinitions | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v3 | |
with: | |
commit-message: Update definitions automatically | |
title: Automated updates to definitions | |
body: This is an automatically generated PR with updates to the definitions from KoLmafia that tome maintains. | |
branch: automatic-definitions-updates |