Add ability to freeze now, move things around for cleaner testing #12 #46
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 README | |
on: | |
pull_request: | |
branches: [ main ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Install doctoc and mdextract | |
run: npm install -g doctoc mdextract | |
- name: Update README | |
run: | | |
mdextract --update README.md | |
doctoc --github --notitle README.md | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
file_pattern: README.md | |
commit_message: Apply README changes |