Workflow config file is invalid. Please check your config file: yaml: line 13: mapping values are not allowed in this context
2023-06-06 19:36:05 -03:00

20 lines
556 B
YAML

name: Prettier
on:
pull_request:
branches: [main]
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- uses: actionsx/prettier@v2
with:
args: --write .
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4.1.2
with:
commit_message: Apply prettier changes
branch: ${{ github.head_ref }}