Skip to content

generate

generate #791

Workflow file for this run

name: generate
on:
schedule:
- cron: "0 0 * * *"
workflow_dispatch:
jobs:
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup python
uses: actions/setup-python@v5
- name: Install tox
run: python -m pip install tox bumpver
- name: bump version
run: |
git config user.email noreply@github.com
git config user.name GitHub
bumpver update --patch -n
- name: generate
run: |
make clean
make gen
sudo chown -R $USER .
- name: Format code using black
uses: rickstaa/action-black@v1
id: action_black
with:
black_args: "koyeb/ test/"
- name: Run test suite
run: tox
- name: Create Pull Request
uses: peter-evans/create-pull-request@v3
with:
body: |
Auto-generated by [create-pull-request]