Skip to content

Commit

Permalink
Update .github/workflows/composer-normalize.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Gummibeer committed Jun 22, 2020
1 parent d865d50 commit a481852
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/composer-normalize.yml
Expand Up @@ -4,15 +4,22 @@ on:
push:
paths:
- 'composer.json'
pull_request:
paths:
- 'composer.json'

jobs:
normalize:
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.repository
runs-on: ubuntu-latest
steps:
- name: Git checkout
uses: actions/checkout@v2

- name: normalize composer.json
- name: Validate Composer configuration
run: composer validate --strict

- name: Normalize composer.json
run: |
composer global require ergebnis/composer-normalize
composer normalize
Expand Down

0 comments on commit a481852

Please sign in to comment.