Skip to content

More options for pull-requests: --state, --org, and --search (#80) #16

More options for pull-requests: --state, --org, and --search (#80)

More options for pull-requests: --state, --org, and --search (#80) #16

Workflow file for this run

name: Update README table of contents
on:
workflow_dispatch:
push:
branches:
- main
paths:
- README.md
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Check out repo
uses: actions/checkout@v4
- name: Update TOC
run: npx markdown-toc README.md -i
- name: Commit and push if README changed
run: |-
git diff
git config --global user.email "[email protected]"
git config --global user.name "README-bot"
git diff --quiet || (git add README.md && git commit -m "Updated README")
git push