Files
bedrock/.github/workflows/formatting.yml
renovate[bot] 4495474c9f chore(deps): ⬆️ bump stefanzweifel/git-auto-commit-action action to v5 (#3153)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2023-12-08 10:26:16 -06:00

29 lines
616 B
YAML

name: Formatting
on:
pull_request:
branches:
- main
jobs:
format:
name: Formatting
runs-on: ubuntu-latest
if: "!contains(github.event.head_commit.message, '[ci skip]')"
steps:
- name: Checkout the project
uses: actions/checkout@v4
with:
ref: ${{ github.head_ref }}
- name: Run Laravel Pint
uses: aglipanci/laravel-pint-action@1.0.0
with:
preset: laravel
- name: Commit changes
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: 🎨 Run Pint
skip_fetch: true