Correct tag-list parameter descriptions as only XML tag-handling is supported #24
Workflow file for this run
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: Update openapi.json using openapi.yaml and commit result | |
on: | |
pull_request: | |
branches: [ "main" ] | |
jobs: | |
run_conversion: | |
name: Run convert_to_json.py script | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Install dependencies | |
run: | | |
cd python | |
python -m pip install --upgrade pip | |
python -m pip install poetry | |
poetry install | |
poetry run convert_to_json ../openapi.yaml ../openapi.json | |
- name: Commit result | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
id: auto-commit-action | |
with: | |
commit_message: Update openapi.json to match openapi.yaml | |
file_pattern: openapi.json | |
- if: steps.auto-commit-action.outputs.changes_detected == 'true' | |
run: echo "Update openapi.json" | |
- if: steps.auto-commit-action.outputs.changes_detected == 'false' | |
run: echo "openapi.json is already up to date" |