mirror of
https://hk.gh-proxy.com/https://github.com/wp-cli/profile-command.git
synced 2025-08-18 06:11:48 +08:00
Update file(s) from wp-cli/.github
This commit is contained in:
parent
501625a1eb
commit
1560ce6c0a
3 changed files with 9 additions and 6 deletions
5
.github/workflows/code-quality.yml
vendored
5
.github/workflows/code-quality.yml
vendored
|
@ -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
|
||||
|
|
5
.github/workflows/regenerate-readme.yml
vendored
5
.github/workflows/regenerate-readme.yml
vendored
|
@ -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."
|
||||
|
|
5
.github/workflows/testing.yml
vendored
5
.github/workflows/testing.yml
vendored
|
@ -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'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue