Update file(s) from wp-cli/.github

This commit is contained in:
schlessera 2022-01-10 22:05:09 +00:00
parent 501625a1eb
commit 1560ce6c0a
3 changed files with 9 additions and 6 deletions

View file

@ -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.
@ -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
@ -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

View file

@ -4,6 +4,7 @@ on:
workflow_dispatch:
push:
branches:
- main
- master
paths-ignore:
- 'features/**'
@ -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: |
@ -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."

View file

@ -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.
@ -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'
@ -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'