Skip to content

Commit

Permalink
fixup! Automatic php-cs-fixer with commit
Browse files Browse the repository at this point in the history
  • Loading branch information
mdeweerd committed Dec 4, 2023
1 parent b64565b commit 4f39b4c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/phpcsfixer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,17 @@ jobs:
env
- name: Fetch up to merge base on push
uses: BioData/fetch-through-merge-base@v0
timeout-minutes: 2
timeout-minutes: 1
if: github.event_name == 'push'
with:
base_ref: develop
head_ref: ${{ github.sha }}
- name: Fetch up to merge base on pull
uses: BioData/fetch-through-merge-base@v0
timeout-minutes: 2
timeout-minutes: 1
if: github.event_name == 'pull_request'
with:
head_ref: ${{ github.ref }}
head_ref: ${{ github.ref_name }}
- name: Setup PHP
uses: shivammathur/setup-php@v2
with:
Expand Down Expand Up @@ -71,9 +71,9 @@ jobs:
retention-days: 2
- name: Commit changes
run: |
git diff || exit 0
git config user.name github-actions
git config user.email [email protected]
git diff
git add "*.php"
git commit -m "qual: PHP CS FIXER Github Action"
git push

0 comments on commit 4f39b4c

Please sign in to comment.