Bump pymongo from 3.10.1 to 4.6.3 #48
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: Export OpenAPI schema | |
on: | |
- push | |
- workflow_dispatch | |
jobs: | |
export_openapi: | |
name: Export OpenAPI schema & commit | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
with: | |
fetch-depth: 1 | |
- name: Setup Python | |
uses: actions/setup-python@master | |
with: | |
python-version: "3.8" | |
architecture: "x64" | |
- name: Setup requirements | |
run: "pip install -r requirements.txt && pip install pyyaml==5.4.1" | |
- name: Export schema to JSON and YAML files | |
run: "python tools/export-openapi.py docs/openapi.json docs/openapi.yaml" | |
- name: Commit & Push exported schemas | |
# https://github.com/marketplace/actions/add-commit | |
uses: EndBug/add-and-commit@v7 | |
with: | |
add: "docs/openapi.*" | |
message: "Update OpenAPI" | |
pull_strategy: "NO-PULL" | |
push: true |