Update SECURITY.md (#30) #23
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: | |
push: | |
branches: | |
- "[0-9]+.[0-9]+" | |
- "[0-9]+.x" | |
- "*_actions" | |
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@v2 | |
with: | |
ref: ${{ github.head_ref }} | |
- name: PHP-CS-Fixer | |
uses: docker://oskarstark/php-cs-fixer-ga:latest | |
- uses: stefanzweifel/git-auto-commit-action@v4 | |
with: | |
commit_message: Apply php-cs-fixer changes |