diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b8577f1..6e7823f 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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