Allow Debugbar to be force to enable on production #424
This file contains hidden or 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: Fix Code Style | |
| on: | |
| push: | |
| branches: | |
| - master | |
| paths: | |
| - '**.php' | |
| pull_request: | |
| branches: | |
| - "*" | |
| paths: | |
| - '**.php' | |
| permissions: | |
| contents: write | |
| jobs: | |
| cs-fix: | |
| runs-on: ubuntu-24.04 | |
| timeout-minutes: 15 | |
| env: | |
| COMPOSER_NO_INTERACTION: 1 | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - name: Setup PHP | |
| uses: shivammathur/setup-php@v2 | |
| with: | |
| php-version: 8.4 | |
| coverage: none | |
| tools: composer:v2 | |
| - name: Install dependencies | |
| run: composer update --prefer-dist --no-progress | |
| - name: Fix Code Style | |
| run: vendor/bin/pint | |
| - name: Commit changes | |
| uses: stefanzweifel/git-auto-commit-action@v7 | |
| with: | |
| commit_message: Fix CS |