generate #531
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: generate | |
on: | |
workflow_dispatch: {} | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 20 | |
- run: | | |
yarn install --immutable | |
yarn generate | |
git config user.email 'generate@tdjson.futpib.github.io' | |
git config user.name 'generate' | |
git add -u | |
if git diff --cached --exit-code; then | |
exit 0 | |
fi | |
git commit -m 'Update tdjson types' | |
npm version patch | |
- uses: peter-evans/create-pull-request@v3 | |
with: | |
branch: generate | |
title: Update tdjson types | |
body: | | |
Changes that probably triggered this update: https://github.com/tdlib/td/commits/master/td/generate/scheme/td_api.tl | |
Auto-generated by [create-pull-request][1] | |
[1]: https://github.com/peter-evans/create-pull-request |