Fix selector #306
Workflow file for this run
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: 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 }} |