Skip to content

Update links for move to main ThoughtWorks GH org #43

Update links for move to main ThoughtWorks GH org

Update links for move to main ThoughtWorks GH org #43

name: Update Markdown TOCs
on:
push:
branches: [master]
paths: ["README.md", "DEVELOPMENT.md"]
permissions:
contents: read
jobs:
build:
runs-on: ubuntu-latest
permissions:
contents: write
timeout-minutes: 5
env:
GITHUB_MARKDOWN_TOC_VERSION: 0.8.0 # See https://github.com/ekalinin/github-markdown-toc/releases
steps:
- uses: actions/checkout@v4
- run: |
curl https://raw.githubusercontent.com/ekalinin/github-markdown-toc/${GITHUB_MARKDOWN_TOC_VERSION}/gh-md-toc -o gh-md-toc
chmod a+x gh-md-toc
./gh-md-toc --insert --no-backup --hide-footer README.md DEVELOPMENT.md
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: Auto update markdown TOC