Skip to content

Commit 400cbac

Browse files
committed
Update file(s) from wp-cli/.github
1 parent 8f5ae3d commit 400cbac

File tree

3 files changed

+9
-6
lines changed

3 files changed

+9
-6
lines changed

.github/workflows/code-quality.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
push:
66
branches:
7+
- main
78
- master
89

910
# Cancels all previous workflow runs for the same branch that have not yet completed.
@@ -40,7 +41,7 @@ jobs:
4041
if: steps.check_composer_file.outputs.files_exists == 'true'
4142
uses: "ramsey/composer-install@v2"
4243
env:
43-
COMPOSER_ROOT_VERSION: 'dev-master'
44+
COMPOSER_ROOT_VERSION: 'dev-main'
4445

4546
- name: Check existence of vendor/bin/parallel-lint file
4647
id: check_linter_file
@@ -79,7 +80,7 @@ jobs:
7980
if: steps.check_files.outputs.files_exists == 'true'
8081
uses: "ramsey/composer-install@v2"
8182
env:
82-
COMPOSER_ROOT_VERSION: 'dev-master'
83+
COMPOSER_ROOT_VERSION: 'dev-main'
8384

8485
- name: Check existence of vendor/bin/phpcs file
8586
id: check_phpcs_binary_file

.github/workflows/regenerate-readme.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
workflow_dispatch:
55
push:
66
branches:
7+
- main
78
- master
89
paths-ignore:
910
- 'features/**'
@@ -43,7 +44,7 @@ jobs:
4344
if: steps.check_composer_file.outputs.files_exists == 'true'
4445
uses: "ramsey/composer-install@v2"
4546
env:
46-
COMPOSER_ROOT_VERSION: 'dev-master'
47+
COMPOSER_ROOT_VERSION: 'dev-main'
4748

4849
- name: Configure git user
4950
run: |
@@ -95,7 +96,7 @@ jobs:
9596
uses: repo-sync/pull-request@v2
9697
with:
9798
source_branch: regenerate-readme
98-
destination_branch: master
99+
destination_branch: main
99100
github_token: ${{ secrets.GITHUB_TOKEN }}
100101
pr_title: Regenerate README file
101102
pr_body: "**This is an automated pull-request**\n\nRefreshes the `README.md` file with the latest changes to the docblocks in the source code."

.github/workflows/testing.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ on:
44
pull_request:
55
push:
66
branches:
7+
- main
78
- master
89

910
# Cancels all previous workflow runs for the same branch that have not yet completed.
@@ -46,7 +47,7 @@ jobs:
4647
if: steps.check_files.outputs.files_exists == 'true'
4748
uses: "ramsey/composer-install@v2"
4849
env:
49-
COMPOSER_ROOT_VERSION: 'dev-master'
50+
COMPOSER_ROOT_VERSION: 'dev-main'
5051

5152
- name: Setup problem matcher to provide annotations for PHPUnit
5253
if: steps.check_files.outputs.files_exists == 'true'
@@ -134,7 +135,7 @@ jobs:
134135
if: steps.check_files.outputs.files_exists == 'true'
135136
uses: "ramsey/composer-install@v2"
136137
env:
137-
COMPOSER_ROOT_VERSION: 'dev-master'
138+
COMPOSER_ROOT_VERSION: 'dev-main'
138139

139140
- name: Start MySQL server
140141
if: steps.check_files.outputs.files_exists == 'true'

0 commit comments

Comments
 (0)