Skip to content

🩹chore(deps): bump werkzeug from 3.0.3 to 3.0.6 in /subjects/mobile-dev/stock-market/resources/mock-stock-data-server #884

🩹chore(deps): bump werkzeug from 3.0.3 to 3.0.6 in /subjects/mobile-dev/stock-market/resources/mock-stock-data-server

🩹chore(deps): bump werkzeug from 3.0.3 to 3.0.6 in /subjects/mobile-dev/stock-market/resources/mock-stock-data-server #884

name: 💅 GA-Misc - Check-Prettier
on:
pull_request:
paths-ignore:
- '.github/**'
branches: [master]
jobs:
GA-Misc-Check-Prettier:
name: 💅 Run Prettier
runs-on: ubuntu-latest
steps:
- name: 🐧 Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: 🔍 Get all changed *.md file(s)
id: changed-md
run: |
echo "changed_files=$(git diff --name-only --diff-filter=ACMRT --merge-base origin/master | grep "\.md$" | xargs)" >> $GITHUB_OUTPUT
- name: Run step if any *.md file(s) changed
if: steps.changed-md.outputs.changed_files != ''
run: |
npm i -g prettier
npx prettier -c ${{ steps.changed-md.outputs.changed_files }}