Skip to content

Commit a07f1f7

Browse files
committed
Update file(s) from wp-cli/.github
1 parent edac060 commit a07f1f7

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

.github/workflows/code-quality.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
if: steps.check_composer_file.outputs.files_exists == 'true'
4242
uses: "ramsey/composer-install@v2"
4343
env:
44-
COMPOSER_ROOT_VERSION: 'dev-main'
44+
COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }}
4545

4646
- name: Check existence of vendor/bin/parallel-lint file
4747
id: check_linter_file
@@ -80,7 +80,7 @@ jobs:
8080
if: steps.check_files.outputs.files_exists == 'true'
8181
uses: "ramsey/composer-install@v2"
8282
env:
83-
COMPOSER_ROOT_VERSION: 'dev-main'
83+
COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }}
8484

8585
- name: Check existence of vendor/bin/phpcs file
8686
id: check_phpcs_binary_file

.github/workflows/regenerate-readme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
if: steps.check_composer_file.outputs.files_exists == 'true'
4545
uses: "ramsey/composer-install@v2"
4646
env:
47-
COMPOSER_ROOT_VERSION: 'dev-main'
47+
COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }}
4848

4949
- name: Configure git user
5050
run: |

.github/workflows/testing.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
if: steps.check_files.outputs.files_exists == 'true'
4848
uses: "ramsey/composer-install@v2"
4949
env:
50-
COMPOSER_ROOT_VERSION: 'dev-main'
50+
COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }}
5151

5252
- name: Setup problem matcher to provide annotations for PHPUnit
5353
if: steps.check_files.outputs.files_exists == 'true'
@@ -138,7 +138,7 @@ jobs:
138138
if: steps.check_files.outputs.files_exists == 'true'
139139
uses: "ramsey/composer-install@v2"
140140
env:
141-
COMPOSER_ROOT_VERSION: 'dev-main'
141+
COMPOSER_ROOT_VERSION: dev-${{ github.event.repository.default_branch }}
142142

143143
- name: Start MySQL server
144144
if: steps.check_files.outputs.files_exists == 'true'

0 commit comments

Comments
 (0)