Skip to content

Commit 88f2c9e

Browse files
committed
Build/Test Tools: Improve reusable workflow file documentation.
It can be difficult to know the impact making changes to a reusable workflow file in `trunk` will have because it’s not easy to konw which branches currently rely on each. This adds a note at the top of each reusable workflow file indicating which branches currently rely on it. The `reusable-test-gutenberg-build-process.yml` file is also now marked as `DEPRECATED`. While it’s no longer used in `trunk`, the `6.5` through `6.9` branches still rely on it. Lastly, a note in the `reusable-end-to-end-tests.yml` file was incorrectly noting that the `<=6.3` branches use a different reusable workflow file. This line has been removed because that is no longer the case after #61213. See #65845. git-svn-id: https://develop.svn.wordpress.org/trunk@63649 602fd350-edb4-49c9-b593-d223f7449a82
1 parent cf0ad1e commit 88f2c9e

15 files changed

Lines changed: 34 additions & 2 deletions

‎.github/workflows/reusable-build-package.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
##
22
# A reusable workflow that builds and packages WordPress. The resulting package can be used to test upgrading and installing.
3+
#
4+
# This workflow is used by `trunk` and branches >= 6.8.
35
##
46
name: Build and package WordPress
57

‎.github/workflows/reusable-cleanup-pull-requests.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
# tickets that are referenced as fixed in commit messages.
44
#
55
# More info about using GitHub pull requests for contributing to WordPress can be found in the handbook: https://make.wordpress.org/core/handbook/contribute/git/github-pull-requests-for-code-review/.
6+
#
7+
# This workflow is used by `trunk` and branches >= 6.8.
68
##
79
name: Run pull request cleanup
810

‎.github/workflows/reusable-coding-standards-javascript.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
##
22
# A reusable workflow that checks the JavaScript coding standards.
3+
#
4+
# This workflow is used by `trunk` and branches >= 4.7.
35
##
46
name: JavaScript coding standards
57

‎.github/workflows/reusable-coding-standards-php.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
##
22
# A reusable workflow that checks the PHP coding standards.
3+
#
4+
# This workflow is used by `trunk` and branches >= 5.1.
35
##
46
name: PHP coding standards
57

‎.github/workflows/reusable-end-to-end-tests.yml‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
##
22
# A reusable workflow that runs end-to-end tests.
33
#
4-
# Branches 6.3 and earlier used Puppeteer instead of Playwright.
5-
# Use https://github.com/WordPress/wordpress-develop/tree/6.3/.github/workflows/reusable-end-to-end-tests.yml instead.
4+
# This workflow is used by `trunk` and branches >= 5.8.
65
##
76
name: End-to-end Tests
87

‎.github/workflows/reusable-javascript-tests.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
##
22
# A reusable workflow that runs JavaScript tests.
3+
#
4+
# This workflow is used by `trunk` and branches >= 4.7.
35
##
46
name: JavaScript tests
57

‎.github/workflows/reusable-javascript-type-checking-v1.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
##
22
# A reusable workflow that runs JavaScript Type Checking.
3+
#
4+
# This workflow is used by `trunk` and branches >= 7.0.
35
##
46
name: JavaScript Type Checking
57

‎.github/workflows/reusable-performance-report-v2.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
##
22
# A reusable workflow that compares and publishes the performance tests.
3+
#
4+
# This workflow is used by `trunk` and branches >= 6.8.
35
##
46
name: Compare and publish performance Tests
57

‎.github/workflows/reusable-performance-test-v2.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
##
22
# A reusable workflow that runs the performance test suite.
3+
#
4+
# This workflow is used by `trunk` and branches >= 6.8.
35
##
46
name: Run performance Tests
57

‎.github/workflows/reusable-php-compatibility.yml‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
##
22
# A reusable workflow that runs PHP compatibility tests.
3+
#
4+
# This workflow is used by `trunk` and branches >= 5.5.
35
##
46
name: PHP Compatibility
57

0 commit comments

Comments
 (0)