1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2026-02-06 10:14:04 +00:00

Update ci.yml

This commit is contained in:
Abrar Ahmad 2022-10-12 15:56:08 +05:00
parent 88b8922875
commit 3ac2567e82

View file

@ -92,15 +92,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with:
ref: ${{ github.head_ref }}
- name: Install php-cs-fixer - name: Install php-cs-fixer
run: composer global require friendsofphp/php-cs-fixer run: composer global require friendsofphp/php-cs-fixer
- name: Run php-cs-fixer - name: Run php-cs-fixer
run: $HOME/.composer/vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php run: $HOME/.composer/vendor/bin/php-cs-fixer fix --config=.php-cs-fixer.php
- name: Commit changes from php-cs-fixer - name: Commit changes from php-cs-fixer
uses: EndBug/add-and-commit@v9 uses: stefanzweifel/git-auto-commit-action@v4
with: with:
author_name: "PHP CS Fixer" commit_author: "PHP CS Fixer"
author_email: "phpcsfixer@example.com" commit_user_email: "phpcsfixer@example.com"
message: Fix code style (php-cs-fixer) commit_message: Fix code style (php-cs-fixer)