This repository has been archived by the owner on Feb 14, 2024. It is now read-only.
fix: typo #18
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: | |
- "master" | |
paths: | |
- "app/**" | |
- "tests/**" | |
jobs: | |
format: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 2 | |
- name: "Install composer dependencies" | |
run: composer install | |
- name: "Format files with laravel pint." | |
run: ./vendor/bin/pint | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Apply formatting changes | |
branch: ${{ github.head_ref }} |