Skip to content

Formatting cleanups, fixed all warnings in markdowner.py and adapted GH Action to no longer allow warnings #648

Formatting cleanups, fixed all warnings in markdowner.py and adapted GH Action to no longer allow warnings

Formatting cleanups, fixed all warnings in markdowner.py and adapted GH Action to no longer allow warnings #648

Workflow file for this run

name: Run markdowner.py on all markdown files and see if there are changes
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
workflow_dispatch:
jobs:
check:
runs-on: ubuntu-latest
steps:
- name: Checks-out repository
uses: actions/checkout@v2
- name: Set up Python 3.7
uses: actions/setup-python@v2
with:
python-version: "3.7"
- name: Run markdowner.py to (hopefully not) edit markdown files
run: |
# TODO: Fix last warnings in output of script and ensure no warnings here
find . -name '*.markdown' -type f -exec python3 .github/workflows/markdowner.py {} all \;
- name: Check if there are changes
run: |
git diff --exit-code