mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-06 04:34:02 +00:00
Update ci.yml
This commit is contained in:
parent
88b8922875
commit
3ac2567e82
1 changed files with 5 additions and 6 deletions
11
.github/workflows/ci.yml
vendored
11
.github/workflows/ci.yml
vendored
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue