chore: generate health files #219
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: Format | |
on: | |
push: | |
branches: [main] | |
jobs: | |
format: | |
name: Format Code | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.USERSTYLES_TOKEN }} | |
- uses: actions/setup-node@v3 | |
- name: Format files | |
run: npx prettier --write styles/**/*.css | |
- name: Push changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "style: format code with prettier" | |
commit_author: "github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>" |