Update actions/github-script action to v7 #19
Workflow file for this run
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: render-md-mermaid | |
on: push | |
jobs: | |
render-md-mermaid: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Render images for every Mermaid diagram in all Markdown files (*.md) in the repo | |
uses: nielsvaneck/render-md-mermaid@v2 | |
- name: Commit rendered png and svg files | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
file_pattern: "*[.svg,.png]" | |
commit_message: automatically rendered mermaid diagrams |