Update the usage of the type utils #1514
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: "PHP-CS-Fixer" | |
on: | |
pull_request_target: | |
branches: | |
- "[0-9]+.[0-9]+" | |
- "[0-9]+.x" | |
- "feature-*" | |
push: | |
branches: | |
- "[0-9]+.[0-9]+" | |
- "[0-9]+.x" | |
- "*_actions" | |
- "feature-*" | |
permissions: | |
contents: read | |
jobs: | |
php-cs-fixer: | |
permissions: | |
contents: write # for stefanzweifel/git-auto-commit-action to push code in repo | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.event.pull_request.head.ref }} | |
repository: ${{ github.event.pull_request.head.repo.full_name }} | |
- name: PHP-CS-Fixer | |
uses: docker://oskarstark/php-cs-fixer-ga:latest | |
- uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: Apply php-cs-fixer changes |