Skip to content

Update UniMagic 実務ガイド―「職員」業務ガイドライン(担任、副担任).md #19

Update UniMagic 実務ガイド―「職員」業務ガイドライン(担任、副担任).md

Update UniMagic 実務ガイド―「職員」業務ガイドライン(担任、副担任).md #19

name: PR Format
on:
pull_request:
branches:
- master
paths:
- "**/*.md"
jobs:
format-check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
cache: npm
- name: Install dependencies
run: npm install
- name: Run Prettier format
run: npx prettier --write "./**/*.md"
- name: Check for changes
id: git_diff
run: |
git diff --exit-code || echo "changes"
- uses: stefanzweifel/[email protected]
if: steps.git_diff.outputs.changes == 'changes'
with:
commit_message: Apply Prettier Change
ref: ${{ github.head_ref }}