Skip to content

Merge pull request #494 from pinheadmz/semver-bitcoin #87

Merge pull request #494 from pinheadmz/semver-bitcoin

Merge pull request #494 from pinheadmz/semver-bitcoin #87

Workflow file for this run

name: Format-api-docs
on:
push:
branches:
- dev
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 }}