Fix headings #10
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: Format Markdown Links | |
on: | |
push: | |
branches-ignore: | |
# We don't want code modified after merge in master | |
- main | |
paths: | |
# Run action if any Markdown file is pushed | |
- '**.md' | |
jobs: | |
format-links: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repository | |
uses: actions/checkout@v2 | |
- name: Set up Python | |
uses: actions/setup-python@v2 | |
with: | |
python-version: '3.x' | |
- name: Run Link Formatter Script | |
run: python format_external_links.py --path ./docs | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: 'GitHub Action: Apply external link format' | |
branch: ${{ github.head_ref }} | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |