Skip to content

Update format.yml

Update format.yml #2

Workflow file for this run

name: Format
on:
push:
branches:
- "master"
permissions:
contents: write
jobs:
format:
runs-on: ubuntu-latest
timeout-minutes: 5
steps:
- uses: actions/checkout@v4
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@v5
with:
commit_message: Format with pint
branch: ${{ github.head_ref }}