mooxphp/moox

View on GitHub
.github/workflows/pint.yml

Summary

Maintainability
Test Coverage
name: Pint

on:
  push:
    branches:
      - main
      - "feature/**"

jobs:
  php-code-styling:
    runs-on: ubuntu-latest

    steps:
      - name: Checkout code
        uses: actions/checkout@v4
        with:
          ref: ${{ github.head_ref }}
          token: ${{ secrets.BOT || github.token }}

      - name: Fix PHP code style issues
        uses: aglipanci/laravel-pint-action@2.4

      - name: Commit changes
        uses: stefanzweifel/git-auto-commit-action@v5
        with:
          push_options: --force
          commit_message: Fix styling