Merge branch 'conan-io:master' into master #11
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: docs_markdown_toc | |
on: | |
workflow_dispatch: | |
inputs: {} | |
push: | |
branches: | |
- master | |
paths: | |
- 'docs/**' | |
jobs: | |
docs_markdown_toc: | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Run MarkdownSnippets | |
run: | | |
dotnet tool install --global MarkdownSnippets.Tool | |
mdsnippets ${GITHUB_WORKSPACE} \ | |
--convention InPlaceOverwrite \ | |
--exclude-directories 'recipes' \ | |
--toc-level 5 | |
shell: bash | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v6 | |
with: | |
branch: bot/action-doc-toc | |
commit-message: "[docs] Regenerate tables of contents" | |
title: "[docs] Regenerate tables of contents" | |
body: "Automatic update of the documentation TOCs." |