Merge pull request #4 from GlaivePro/update-actions #32
This file contains 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: | |
workflow_dispatch: | |
pull_request: | |
push: | |
branches: [ master ] | |
jobs: | |
php-cs-fixer: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Install dependencies | |
uses: ramsey/composer-install@v2 | |
- name: Fix code style | |
run: composer fix | |
- name: Commit changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Apply CS fixes |