From c5a0ae95834e963fff3c7a4eff634bc179681fb3 Mon Sep 17 00:00:00 2001 From: Vincent Chalamon <407859+vincentchalamon@users.noreply.github.com> Date: Wed, 15 Jan 2025 09:47:00 +0100 Subject: [PATCH] chore: rename main branch to 2.0 --- .github/workflows/ci.yml | 5 ++--- composer.json | 5 ----- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b802adc..7fb75d2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -3,7 +3,6 @@ name: CI on: push: branches: - - main - '[0-9].[0-9]' tags: - '*' @@ -95,9 +94,9 @@ jobs: PHP_CS_FIXER_IGNORE_ENV: 1 run: php-cs-fixer fix --diff --dry-run - name: Bundle is bootable - if: ${{ matrix.bootable && github.event_name == 'push' && github.ref_name == 'main' }} + if: ${{ matrix.bootable && github.event_name == 'push' && github.ref_name == github.event.repository.default_branch }} 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_name }} + composer req --ignore-platform-reqs tilleuls/forgot-password-bundle:${{ github.ref_name }}.x-dev diff --git a/composer.json b/composer.json index ccee591..8d8f69f 100644 --- a/composer.json +++ b/composer.json @@ -64,11 +64,6 @@ "App\\": "features/app/src" } }, - "extra": { - "branch-alias": { - "dev-main": "1.5.x-dev" - } - }, "config": { "sort-packages": true, "allow-plugins": {