diff --git a/.github/workflows/code-quality.yml b/.github/workflows/code-quality.yml index 54c324a..c791c8f 100644 --- a/.github/workflows/code-quality.yml +++ b/.github/workflows/code-quality.yml @@ -41,7 +41,7 @@ jobs: if: steps.check_composer_file.outputs.files_exists == 'true' uses: "ramsey/composer-install@v2" env: - COMPOSER_ROOT_VERSION: 'dev-main' + COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }} - name: Check existence of vendor/bin/parallel-lint file id: check_linter_file @@ -80,7 +80,7 @@ jobs: if: steps.check_files.outputs.files_exists == 'true' uses: "ramsey/composer-install@v2" env: - COMPOSER_ROOT_VERSION: 'dev-main' + COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }} - name: Check existence of vendor/bin/phpcs file id: check_phpcs_binary_file diff --git a/.github/workflows/regenerate-readme.yml b/.github/workflows/regenerate-readme.yml index 9469b04..d075c9f 100644 --- a/.github/workflows/regenerate-readme.yml +++ b/.github/workflows/regenerate-readme.yml @@ -44,7 +44,7 @@ jobs: if: steps.check_composer_file.outputs.files_exists == 'true' uses: "ramsey/composer-install@v2" env: - COMPOSER_ROOT_VERSION: 'dev-main' + COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }} - name: Configure git user run: | diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index f7f80da..0149e31 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -47,7 +47,7 @@ jobs: if: steps.check_files.outputs.files_exists == 'true' uses: "ramsey/composer-install@v2" env: - COMPOSER_ROOT_VERSION: 'dev-main' + COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }} - name: Setup problem matcher to provide annotations for PHPUnit if: steps.check_files.outputs.files_exists == 'true' @@ -138,7 +138,7 @@ jobs: if: steps.check_files.outputs.files_exists == 'true' uses: "ramsey/composer-install@v2" env: - COMPOSER_ROOT_VERSION: 'dev-main' + COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }} - name: Start MySQL server if: steps.check_files.outputs.files_exists == 'true'