-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2067 from woocommerce/release/2.5.3
Release 2.5.3
- Loading branch information
Showing
113 changed files
with
3,785 additions
and
8,201 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
["@woocommerce/components","@woocommerce/customer-effort-score","@woocommerce/data","@woocommerce/navigation","@woocommerce/settings","@wordpress/a11y","@wordpress/api-fetch","@wordpress/data","@wordpress/data-controls","@wordpress/date","@wordpress/deprecated","@wordpress/dom","@wordpress/element","@wordpress/escape-html","@wordpress/hooks","@wordpress/html-entities","@wordpress/i18n","@wordpress/is-shallow-equal","@wordpress/keycodes","@wordpress/priority-queue","@wordpress/rich-text","@wordpress/url","@wordpress/warning","extracted/@wordpress/components","lodash","moment","react","react-dom"] | ||
["@woocommerce/components","@woocommerce/customer-effort-score","@woocommerce/data","@woocommerce/navigation","@woocommerce/settings","@wordpress/api-fetch","@wordpress/components","@wordpress/compose","@wordpress/data","@wordpress/data-controls","@wordpress/date","@wordpress/deprecated","@wordpress/dom","@wordpress/element","@wordpress/hooks","@wordpress/html-entities","@wordpress/i18n","@wordpress/primitives","@wordpress/url","lodash","moment","react","react-dom"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
name: PHP Hook Documentation Generator | ||
|
||
on: | ||
push: | ||
branches: | ||
- "release/**" | ||
paths: | ||
- "**.php" | ||
- .github/workflows/php-hook-documentation.yml | ||
pull_request: | ||
types: | ||
- opened | ||
branches: | ||
- "release/**" | ||
paths: | ||
- "**.php" | ||
- .github/workflows/php-hook-documentation.yml | ||
workflow_dispatch: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
HookDocumentation: | ||
name: Hook Documentation Generator | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout the repository | ||
uses: actions/checkout@v3 | ||
with: | ||
# Checks out a branch instead of a commit in detached HEAD state | ||
ref: ${{ github.head_ref }} | ||
|
||
# This generates the documentation string. The `id` property is used to reference the output in the next step. | ||
- name: Generate hook documentation | ||
id: generate-hook-docs | ||
uses: woocommerce/grow/hook-documentation@actions-v1 | ||
with: | ||
debug-output: yes | ||
source-directories: src/,views/,google-listings-and-ads.php,uninstall.php | ||
|
||
- name: Commit hook documentation | ||
shell: bash | ||
# Use the github-actions bot account to commit. | ||
# https://api.github.com/users/github-actions%5Bbot%5D | ||
run: | | ||
git config user.name github-actions[bot] | ||
git config user.email 41898282+github-actions[bot]@users.noreply.github.com | ||
echo "${{ steps.generate-hook-docs.outputs.hook-docs }}" > src/Hooks/README.md | ||
git add src/Hooks/README.md | ||
if git diff --cached --quiet; then | ||
echo "*No documentation changes to commit.*" >> $GITHUB_STEP_SUMMARY | ||
else | ||
echo "*Committing documentation changes.*" >> $GITHUB_STEP_SUMMARY | ||
git commit -q -m "Update hooks documentation from ${{ github.head_ref }} branch." | ||
git push | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
name: 'Merge the release to develop' | ||
run-name: Make a PR to merge the released `${{ github.head_ref }}` from `trunk` to `develop` | ||
|
||
# **What it does**: Creates a PR to merge `trunk` to `develop` after `prepare-extension-release`-based release is merged to `trunk`. | ||
# **Why we have it**: To automate the release process and follow the git-flow. | ||
|
||
on: | ||
pull_request: | ||
types: | ||
- closed | ||
branches: | ||
- trunk | ||
|
||
jobs: | ||
MergeTrunkDevelopPR: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: woocommerce/grow/merge-trunk-develop-pr@actions-v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.