Merge pull request #4353 from owid/add-antibiotics-topic-list #10229
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |