Skip to content

docs: remove redis connection #13

docs: remove redis connection

docs: remove redis connection #13

# name: Format Markdown
# on:
# push:
# branches:
# - '**'
# paths:
# - 'content/**/*.md'
# permissions:
# contents: read
# jobs:
# format-markdown:
# permissions:
# contents: write # for Git to git push
# runs-on: ubuntu-latest
# steps:
# - name: Harden the runner (Audit all outbound calls)
# uses: step-security/harden-runner@4d991eb9b905ef189e4c376166672c3f2f230481 # v2.11.0
# with:
# egress-policy: audit
# - name: Checkout repository
# uses: actions/checkout@ee0669bd1cc54295c223e0bb666b733df41de1c5 # v2.7.0
# with:
# fetch-depth: 2
# token: ${{ secrets.ACCESS_TOKEN }}
# - name: Set up Node.js
# uses: actions/setup-node@7c12f8017d5436eb855f1ed4399f037a36fbd9e8 # v2.5.2
# with:
# node-version: 18
# - name: Install Prettier
# run: npm install prettier
# - name: Run Prettier
# run: npx prettier --write "content/**/*.md" --ignore-path .prettierignore
# - name: Commit changes
# run: |
# git config user.name "GitHub Action"
# git config user.email "[email protected]"
# export HUSKY=0
# git add -A
# # Check for meaningful changes before committing
# if [ -n "$(git status --porcelain)" ]; then
# # Commit only modified markdown files, not all changes
# git commit -m "chore: format content markdown files with Prettier"
# echo "Changes committed"
# else
# echo "No significant changes to commit"
# exit 0
# fi
# - name: Pull latest changes
# run: git pull --rebase
# - name: Push changes
# run: git push
# env:
# ACCESS_TOKEN: ${{ secrets.ACCESS_TOKEN }}