Skip to content

Merge pull request #625 from willcl-ark/pin-ruff #146

Merge pull request #625 from willcl-ark/pin-ruff

Merge pull request #625 from willcl-ark/pin-ruff #146

Workflow file for this run

name: Format-api-docs
on:
push:
branches:
- main
jobs:
format-api-docs:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: actions/checkout@v4
- uses: actions/setup-python@v5
with:
python-version: '3.10'
- uses: hynek/setup-cached-uv@v1
- run: |
echo Installing warnet python package for cli
uv venv
uv pip install -e .
- name: Run apidocs script
run: |
source .venv/bin/activate
python3 resources/scripts/apidocs.py
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Update apidocs on ${{ github.head_ref }}