Skip to content

Fix Sidebar Active Link Highlighting by Adding Leading Slashes #1148

Fix Sidebar Active Link Highlighting by Adding Leading Slashes

Fix Sidebar Active Link Highlighting by Adding Leading Slashes #1148

name: Pull Request CI
on:
pull_request:
push:
branches:
- develop
jobs:
prettier:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
ref: ${{ github.head_ref }}
persist-credentials: false
- name: Set up Node.js
uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install global npm package
run: npm install -g npm@8
- name: Prettify code
uses: creyD/[email protected]
with:
prettier_options: --write src/*.md
only_changed: True
github_token: ${{ secrets.GITHUB_TOKEN }}
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply formatting changes
branch: ${{ github.head_ref }}