deps(dev): update jamesives/github-pages-deploy-action action to v4.6.1 #151
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: Prettier Auto Fix on main | |
# auto-fixes linting errors in `main` this allows us to skip any Pull Request | |
# adjustments since linting issues will be resolved automatically as soon as | |
# the branch is merged | |
on: | |
push: | |
branches: [main] | |
jobs: | |
prettier-fix: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
token: ${{ secrets.ADMIN_REPO_TOKEN }} | |
ref: ${{ github.head_ref }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Run prettier | |
run: npm run prettier:fix | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: | |
'style: :rotating_light: Fix prettier issues in `main` automatically' |