Skip to content

Commit

Permalink
fix: CI on specific branches
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentchalamon committed Aug 2, 2022
1 parent d1919d0 commit 9ef7906
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Expand Up @@ -69,12 +69,12 @@ jobs:
- name: Update project dependencies
run: composer update --no-progress --ansi --prefer-stable
- name: Bundle is bootable
if: ${{ matrix.bootable && github.event_name == 'push' }}
if: ${{ matrix.bootable && github.event_name == 'push' && github.ref_name == 'main' }}
run: |
composer create-project "symfony/skeleton:${{ matrix.symfony }}" flex
cd flex
composer config extra.symfony.allow-contrib true
composer req --ignore-platform-reqs tilleuls/forgot-password-bundle:dev-${GITHUB_REF#refs/heads/}
composer req --ignore-platform-reqs tilleuls/forgot-password-bundle:dev-${{ github.ref_name }}
- name: Run php-cs-fixer tests
run: php-cs-fixer fix --diff --dry-run
if: matrix.quality
Expand Down

0 comments on commit 9ef7906

Please sign in to comment.