Skip to content

Update actions/github-script action to v7 #19

Update actions/github-script action to v7

Update actions/github-script action to v7 #19

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