DOCSP-50951: Add Motor deprecation notice to Python page #255
Workflow file for this run
This file contains hidden or 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: Vale Check | |
on: | |
pull_request: | |
paths: | |
- "source/**" | |
jobs: | |
vale: | |
name: TDBX Vale rules | |
runs-on: ubuntu-latest | |
steps: | |
- name: checkout | |
uses: actions/checkout@master | |
- name: Install docutils | |
run: sudo apt-get install -y docutils | |
- id: files | |
uses: masesgroup/retrieve-changed-files@v2 | |
with: | |
format: "csv" | |
- name: checkout-latest-rules | |
uses: actions/checkout@master | |
with: | |
repository: mongodb/mongodb-vale-action | |
path: "./tdbx-vale-rules" | |
token: ${{secrets.GITHUB_TOKEN}} | |
- name: move-files-for-vale-action | |
run: | | |
cp tdbx-vale-rules/.vale.ini .vale.ini | |
mkdir -p .github/styles/ | |
cp -rf tdbx-vale-rules/.github/styles/ .github/ | |
- if: steps.get_changed_files.outputs.all_changed_files != '' | |
uses: errata-ai/vale-action@reviewdog | |
with: | |
files: ${{steps.files.outputs.added_modified}} | |
separator: "," | |
filter_mode: diff_context | |
reporter: github-pr-review | |
fail_on_error: true | |
token: ${{ secrets.GITHUB_TOKEN }} | |
- name: run-vale | |
uses: errata-ai/vale-action@reviewdog | |
with: | |
reporter: github-pr-check | |
files: ${{steps.files.outputs.added_modified}} | |
fail_on_error: true | |
token: ${{secrets.GITHUB_TOKEN}} |