Aktualisiere GHA actions/checkout
und actions/cache
(Case 171395)
#85
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
# Update this by running | ||
# curl https://gist.githubusercontent.com/mpdude/ca93a185bcbf56eb7e341632ad4f8263/raw/fix-cs-php.yml > .github/workflows/fix-cs-php.yml | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
name: Coding Standards | ||
jobs: | ||
open-pr-for-cs-violations: | ||
name: PHP-CS-Fixer | ||
runs-un: ubuntu-22.04 | ||
Check failure on line 15 in .github/workflows/fix-cs-php.yml GitHub Actions / Coding StandardsInvalid workflow file
|
||
if: github.actor != 'dependabot[bot]' | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
with: | ||
ref: ${{ github.head_ref }} | ||
- name: Run PHP-CS-Fixer | ||
run: bin/php-cs-fixer | ||
- name: Commit and push back changes | ||
uses: stefanzweifel/git-auto-commit-action@v4 | ||
with: | ||
commit_message: "Fix CS with PHP-CS-Fixer" |