Skip to content

Fix selector

Fix selector #306

Workflow file for this run

name: Continuous Integration
on:
pull_request:
push:
branches: [main]
jobs:
prettier:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v3
with:
ref: '${{ github.head_ref }}'
token: '${{ secrets.GH_PAT }}'
- name: Prettify code
uses: creyD/[email protected]
with:
prettier_options: --write .
only_changed: True
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: Apply prettier changes
branch: ${{ github.head_ref }}