diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index d286f5abf6..106b0eddbe 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -4,9 +4,13 @@ on: push: branches: - master + # JSHint was introduced in WordPress 3.8. # PHPCS checking was introduced in WordPress 5.1. - - '5.[1-9]' - - '[6-9].*' + - '3.[89]' + - '[4-9].[0-9]' + tags: + - '3.[89]*' + - '[4-9].[0-9]*' pull_request: jobs: diff --git a/.github/workflows/end-to-end-tests.yml b/.github/workflows/end-to-end-tests.yml index 131dd6fa41..f895e9c3f6 100644 --- a/.github/workflows/end-to-end-tests.yml +++ b/.github/workflows/end-to-end-tests.yml @@ -6,7 +6,10 @@ on: - master # The end to end test suite was introduced in WordPress 5.3. - '5.[3-9]' - - '[6-9].*' + - '[6-9].[0-9]' + tags: + - '5.[3-9]*' + - '[6-9].[0-9]*' pull_request: env: diff --git a/.github/workflows/javascript-tests.yml b/.github/workflows/javascript-tests.yml index caba388d9f..31dc88fe3e 100644 --- a/.github/workflows/javascript-tests.yml +++ b/.github/workflows/javascript-tests.yml @@ -4,7 +4,12 @@ on: push: branches: - master - - '*.*' + # JavaScript testing was introduced in WordPress 3.8. + - '3.[89]' + - '[4-9].[0-9]' + tags: + - '3.[89]*' + - '[4-9].[0-9]*' pull_request: jobs: diff --git a/.github/workflows/php-compatibility.yml b/.github/workflows/php-compatibility.yml index 6c3fb82ceb..d213c2612f 100644 --- a/.github/workflows/php-compatibility.yml +++ b/.github/workflows/php-compatibility.yml @@ -6,7 +6,10 @@ on: - master # The PHP compatibility testing was introduced in WordPress 5.5. - '5.[5-9]' - - '[6-9].*' + - '[6-9].[0-9]' + tags: + - '5.[5-9]*' + - '[6-9].[0-9]*' pull_request: jobs: diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index d6f1ed9bc2..a55ca8c642 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -4,7 +4,11 @@ on: push: branches: - master - - '*.*' + - '3.[7-9]' + - '[4-9].[0-9]' + tags: + - '3.[7-9]*' + - '[4-9].[0-9]*' pull_request: # Once weekly On Sundays at 00:00 UTC. schedule: diff --git a/.github/workflows/verify-npm-on-windows.yml b/.github/workflows/verify-npm-on-windows.yml index 3b3c4b22eb..adc3f84b5b 100644 --- a/.github/workflows/verify-npm-on-windows.yml +++ b/.github/workflows/verify-npm-on-windows.yml @@ -4,7 +4,8 @@ on: push: branches: - master - - '*.*' + - '3.[7-9]' + - '[4-9].[0-9]' pull_request: env: