Skip to content

chore: update jdx/mise-action action to v4.2.0 (#230) #438

chore: update jdx/mise-action action to v4.2.0 (#230)

chore: update jdx/mise-action action to v4.2.0 (#230) #438

name: Check Markdown
on:
push:
branches:
- main
paths:
- "**/*.md"
- ".github/workflows/check-markdown.yml"
- ".markdownlint-cli2.jsonc"
- "mise.lock"
pull_request:
paths:
- "**/*.md"
- ".github/workflows/check-markdown.yml"
- ".markdownlint-cli2.jsonc"
- "mise.lock"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
permissions: {}
jobs:
check:
runs-on: ubuntu-latest
permissions:
contents: write # push auto-fix commits
steps:
- name: Checkout
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
with:
persist-credentials: false
- name: Install mise and setup
uses: jdx/mise-action@e6a8b3978addb5a52f2b4cd9d91eafa7f0ab959d # v4.2.0
with:
install: true
install_args: "markdownlint-cli2"
cache: true
github_token: ${{ secrets.GITHUB_TOKEN }}
env:
MISE_LOCKED: "1"
- name: Fix
run: mise md-fix
- name: Commit and Push
uses: 23prime/simple-commit-and-push@15fb653b9591afde3bffb82a906a9af2aede1616 # v1.0.0
with:
commit-message: "Auto fix by workflow"
github-token: ${{ secrets.GITHUB_TOKEN }}
- name: Check
run: mise md-check