Skip to content

Commit

Permalink
Update file(s) from wp-cli/.github
Browse files Browse the repository at this point in the history
  • Loading branch information
schlessera committed Jan 10, 2022
1 parent 8eb34dc commit 67c6532
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/code-quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
push:
branches:
- main
- master

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

- name: Check existence of vendor/bin/parallel-lint file
id: check_linter_file
Expand Down Expand Up @@ -79,7 +80,7 @@ jobs:
if: steps.check_files.outputs.files_exists == 'true'
uses: "ramsey/composer-install@v2"
env:
COMPOSER_ROOT_VERSION: 'dev-master'
COMPOSER_ROOT_VERSION: 'dev-main'

- name: Check existence of vendor/bin/phpcs file
id: check_phpcs_binary_file
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/regenerate-readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- main
- master
paths-ignore:
- 'features/**'
Expand Down Expand Up @@ -43,7 +44,7 @@ jobs:
if: steps.check_composer_file.outputs.files_exists == 'true'
uses: "ramsey/composer-install@v2"
env:
COMPOSER_ROOT_VERSION: 'dev-master'
COMPOSER_ROOT_VERSION: 'dev-main'

- name: Configure git user
run: |
Expand Down Expand Up @@ -95,7 +96,7 @@ jobs:
uses: repo-sync/pull-request@v2
with:
source_branch: regenerate-readme
destination_branch: master
destination_branch: main
github_token: ${{ secrets.GITHUB_TOKEN }}
pr_title: Regenerate README file
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."
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
pull_request:
push:
branches:
- main
- master

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

- name: Setup problem matcher to provide annotations for PHPUnit
if: steps.check_files.outputs.files_exists == 'true'
Expand Down Expand Up @@ -134,7 +135,7 @@ jobs:
if: steps.check_files.outputs.files_exists == 'true'
uses: "ramsey/composer-install@v2"
env:
COMPOSER_ROOT_VERSION: 'dev-master'
COMPOSER_ROOT_VERSION: 'dev-main'

- name: Start MySQL server
if: steps.check_files.outputs.files_exists == 'true'
Expand Down

0 comments on commit 67c6532

Please sign in to comment.