generate #157
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: | |
repository_dispatch: | |
types: | |
- "Trigger Workflow" | |
schedule: | |
- cron: '0 0 * * *' | |
jobs: | |
generate: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- run: | | |
make in-docker TARGET=classes | |
- run: | | |
git config user.name github-actions | |
git config user.email [email protected] | |
git add classes | |
git commit -m 'chore(docs): re-generate classes [automated]' && git push origin main || true | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |