Skip to content

Merge pull request #4354 from owid/spoonerf-patch-1 #10231

Merge pull request #4354 from owid/spoonerf-patch-1

Merge pull request #4354 from owid/spoonerf-patch-1 #10231

Workflow file for this run

name: Prettify
on:
push:
branches: [master]
pull_request:
branches: [master]
# Runs `prettier` on a pull request so everything is nice and pretty!
# If something's wrong, a new commit fixing the issues will automatically be pushed to the PR branch.
jobs:
prettify:
runs-on: ubuntu-latest
steps:
- name: Clone repository
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- uses: ./.github/actions/setup-node-yarn-deps
- name: Run prettier
run: yarn fixPrettierAll
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "🤖 style: prettify code"