Last active
March 8, 2020 22:55
-
-
Save tomschlick/157407ade6194646aba8bbe7f8438b8a to your computer and use it in GitHub Desktop.
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 | |
jobs: | |
php-cs-fixer: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.YOUR_TOKEN }} | |
- name: Cache .php_cs.cache | |
uses: actions/cache@v1 | |
with: | |
path: ./.php_cs.cache | |
key: php-cs-cache | |
- name: Run php-cs-fixer | |
uses: docker://oskarstark/php-cs-fixer-ga | |
- uses: stefanzweifel/git-auto-commit-action@v4.0.0 | |
with: | |
commit_message: Apply php-cs-fixer changes | |
branch: ${{ github.head_ref }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment