fix(pinterest): various fixes again (#337) #254
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 userstyles | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
token: ${{ secrets.USERSTYLES_TOKEN }} | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
- name: Format userstyles | |
run: npx prettier --write styles/**/*.css | |
- name: Pull changes | |
run: git pull | |
- 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>" |