Added 'NPeg and generic functions' section to readme #22
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: Make table of contents | |
on: | |
push: | |
paths: | |
- README.md | |
branches: | |
- '**' | |
jobs: | |
make: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: thatrandomperson5/AutoMarkdownContents@v1.1.1 | |
with: | |
file: README.md | |
auto: true | |
skip-first: true | |
- name: Pull request | |
uses: peter-evans/create-pull-request@v4 | |
with: | |
token: ${{ secrets.GITHUB_TOKEN }} | |
title: "Add md table of contents" | |
commit-message: ":clipboard: Added markdown table of contents" | |
body: | | |
:clipboard: Added markdown table of contents | |
base: ${{ github.head_ref }} # Creates pull request onto pull request or commit branch | |
branch: actions/automd | |