Read attributes as provided by the event object, and pass on attributes to other event handlers #117
Workflow file for this run
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
on: | |
push: | |
branches: | |
- master | |
pull_request: | |
name: Coding Standards | |
jobs: | |
open-pr-for-cs-violations: | |
name: PHP-CS-Fixer | |
runs-on: ubuntu-latest | |
if: github.actor != 'dependabot[bot]' | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: Run PHP-CS-Fixer | |
uses: docker://ghcr.io/php-cs-fixer/php-cs-fixer:3.62.0-php8.3 | |
with: | |
args: "fix --show-progress=dots" | |
- name: Commit and push back changes | |
uses: stefanzweifel/git-auto-commit-action@v5 | |
with: | |
commit_message: "Fix CS with PHP-CS-Fixer" |