Skip to content

Nutze Docker-Image von friendsofphp/php-cs-fixer #98

Nutze Docker-Image von friendsofphp/php-cs-fixer

Nutze Docker-Image von friendsofphp/php-cs-fixer #98

Workflow file for this run

on:
push:
branches:
- master
pull_request:
name: Coding Standards
jobs:
open-pr-for-cs-violations:
name: PHP-CS-Fixer
runs-on: ubuntu-22.04
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/webfactory/php-cs-fixer:3.62.0
- name: Commit and push back changes
uses: stefanzweifel/git-auto-commit-action@v4
with:
commit_message: "Fix CS with PHP-CS-Fixer"