Bump boto3 from 1.35.91 to 1.35.97 #93
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: Build docs | |
on: | |
# 'paths-ignore' are not respected as expected, see https://github.com/actions/runner/issues/2324 | |
pull_request: | |
types: [opened, reopened, synchronize] | |
branches: [ master ] | |
# paths-ignore: | |
# - 'docs/**' | |
jobs: | |
build_docs: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
# Passing a PAT from the PlanXCybrog bot account here, since otherwise commit pushed by this action won't be able to trigger other actions, see https://github.com/stefanzweifel/git-auto-commit-action?tab=readme-ov-file#commits-made-by-this-action-do-not-trigger-new-workflow-runs | |
token: ${{ secrets.PLANXCYBORG_PAT }} | |
- name: Set up Python 3.9 | |
uses: actions/setup-python@v1 | |
with: | |
python-version: 3.9 | |
- uses: actions/cache@preview | |
with: | |
path: ~/.cache/pypoetry/virtualenvs | |
key: ${{ runner.os }}-poetry-${{ hashFiles(format('{0}{1}', github.workspace, '/poetry.lock')) }} | |
restore-keys: | | |
${{ runner.os }}-poetry- | |
- name: Install dependencies | |
run: | | |
pip install poetry | |
poetry install -vv --no-interaction | |
poetry show -vv | |
- name: Build docs | |
run: poetry run python run.py openapi | |
- uses: stefanzweifel/[email protected] | |
with: | |
commit_message: Apply automatic documentation changes | |
# Optional name of the branch the commit should be pushed to | |
# Required if Action is used in Workflow listening to the `pull_request` event | |
branch: ${{ github.head_ref }} |