Skip to content

Merge pull request #49 from Laravel-Lang/14.x #60

Merge pull request #49 from Laravel-Lang/14.x

Merge pull request #49 from Laravel-Lang/14.x #60

Workflow file for this run

name: Code Style
on: [ push, pull_request ]
permissions: write-all
jobs:
style:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
- name: Check the code style
uses: TheDragonCode/codestyler@v3
if: ${{ github.event_name != 'push' || github.ref != 'refs/heads/main' }}
with:
github_token: ${{ secrets.COMPOSER_TOKEN }}
- name: Fix the code style
uses: TheDragonCode/codestyler@v3
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }}
with:
github_token: ${{ secrets.COMPOSER_TOKEN }}
fix: true