diff --git a/.github/workflows/check-built-files.yml b/.github/workflows/check-built-files.yml index e1338f8518680..04510bd84809f 100644 --- a/.github/workflows/check-built-files.yml +++ b/.github/workflows/check-built-files.yml @@ -43,4 +43,4 @@ jobs: name: Check built files # This prevents an unnecessary second run after changes are committed back because Dependabot always rebases and force pushes. if: ${{ github.repository == 'wordpress/wordpress-develop' && ( github.actor != 'dependabot[bot]' || github.event.commits < 2 ) }} - uses: ./.github/workflows/reusable-check-built-files.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-check-built-files.yml@trunk diff --git a/.github/workflows/cleanup-pull-requests.yml b/.github/workflows/cleanup-pull-requests.yml index 578710dcf56ac..6c8d38e67b0b7 100644 --- a/.github/workflows/cleanup-pull-requests.yml +++ b/.github/workflows/cleanup-pull-requests.yml @@ -25,4 +25,4 @@ jobs: permissions: pull-requests: write if: ${{ github.repository == 'WordPress/wordpress-develop' }} - uses: ./.github/workflows/reusable-cleanup-pull-requests.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-cleanup-pull-requests.yml@trunk diff --git a/.github/workflows/coding-standards.yml b/.github/workflows/coding-standards.yml index e89d638eef605..d7cf059b81bb6 100644 --- a/.github/workflows/coding-standards.yml +++ b/.github/workflows/coding-standards.yml @@ -49,7 +49,7 @@ jobs: # Runs the PHP coding standards checks. phpcs: name: PHP coding standards - uses: ./.github/workflows/reusable-coding-standards-php.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-coding-standards-php.yml@trunk permissions: contents: read if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} @@ -57,14 +57,14 @@ jobs: # Runs the JavaScript coding standards checks. jshint: name: JavaScript coding standards - uses: ./.github/workflows/reusable-coding-standards-javascript.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-coding-standards-javascript.yml@trunk permissions: contents: read if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} slack-notifications: name: Slack Notifications - uses: ./.github/workflows/slack-notifications.yml + uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk permissions: actions: read contents: read diff --git a/.github/workflows/end-to-end-tests.yml b/.github/workflows/end-to-end-tests.yml index 81f0c7cf4720c..c9c34944cbc00 100644 --- a/.github/workflows/end-to-end-tests.yml +++ b/.github/workflows/end-to-end-tests.yml @@ -55,7 +55,7 @@ jobs: # Runs the end-to-end test suite. e2e-tests: name: Test with SCRIPT_DEBUG ${{ matrix.LOCAL_SCRIPT_DEBUG && 'enabled' || 'disabled' }} - uses: ./.github/workflows/reusable-end-to-end-tests.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-end-to-end-tests.yml@trunk permissions: contents: read if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} @@ -68,7 +68,7 @@ jobs: slack-notifications: name: Slack Notifications - uses: ./.github/workflows/slack-notifications.yml + uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk permissions: actions: read contents: read diff --git a/.github/workflows/install-testing.yml b/.github/workflows/install-testing.yml index 775ea83c753f9..ed88beb9b23e8 100644 --- a/.github/workflows/install-testing.yml +++ b/.github/workflows/install-testing.yml @@ -43,7 +43,7 @@ jobs: # Determines the supported values for PHP and database versions based on the WordPress version being tested. build-test-matrix: name: Build Test Matrix - uses: ./.github/workflows/reusable-support-json-reader-v1.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-support-json-reader-v1.yml@trunk permissions: contents: read secrets: inherit @@ -136,7 +136,7 @@ jobs: slack-notifications: name: Slack Notifications - uses: ./.github/workflows/slack-notifications.yml + uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk permissions: actions: read contents: read diff --git a/.github/workflows/javascript-tests.yml b/.github/workflows/javascript-tests.yml index 0caf52ba68b0e..e7a7dad1fc25f 100644 --- a/.github/workflows/javascript-tests.yml +++ b/.github/workflows/javascript-tests.yml @@ -50,14 +50,14 @@ jobs: # Runs the WordPress Core JavaScript tests. test-js: name: QUnit Tests - uses: ./.github/workflows/reusable-javascript-tests.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-javascript-tests.yml@trunk permissions: contents: read if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} slack-notifications: name: Slack Notifications - uses: ./.github/workflows/slack-notifications.yml + uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk permissions: actions: read contents: read diff --git a/.github/workflows/local-docker-environment.yml b/.github/workflows/local-docker-environment.yml index 7e4be73c33648..616d37e19bba0 100644 --- a/.github/workflows/local-docker-environment.yml +++ b/.github/workflows/local-docker-environment.yml @@ -69,7 +69,7 @@ jobs: # build-test-matrix: name: Build Test Matrix - uses: ./.github/workflows/reusable-support-json-reader-v1.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-support-json-reader-v1.yml@trunk permissions: contents: read secrets: inherit @@ -80,7 +80,7 @@ jobs: # Tests the local Docker environment. environment-tests-mysql: name: PHP ${{ matrix.php }} - uses: ./.github/workflows/reusable-test-local-docker-environment-v1.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-test-local-docker-environment-v1.yml@trunk permissions: contents: read needs: [ build-test-matrix ] @@ -112,7 +112,7 @@ jobs: slack-notifications: name: Slack Notifications - uses: ./.github/workflows/slack-notifications.yml + uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk permissions: actions: read contents: read diff --git a/.github/workflows/performance.yml b/.github/workflows/performance.yml index b9ef6af19f8c2..04d5c5bf81efe 100644 --- a/.github/workflows/performance.yml +++ b/.github/workflows/performance.yml @@ -91,7 +91,7 @@ jobs: # Runs the performance test suite. performance: name: ${{ matrix.multisite && 'Multisite' || 'Single Site' }} ${{ matrix.memcached && 'Memcached' || 'Default' }} - uses: ./.github/workflows/reusable-performance-test-v2.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-performance-test-v2.yml@trunk needs: [ determine-matrix ] permissions: contents: read @@ -109,7 +109,7 @@ jobs: compare: name: ${{ matrix.label }} - uses: ./.github/workflows/reusable-performance-report-v2.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-performance-report-v2.yml@trunk needs: [ determine-matrix, performance ] permissions: contents: read @@ -129,7 +129,7 @@ jobs: slack-notifications: name: Slack Notifications - uses: ./.github/workflows/slack-notifications.yml + uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk permissions: actions: read contents: read diff --git a/.github/workflows/php-compatibility.yml b/.github/workflows/php-compatibility.yml index 4ad627af1e24c..9471e9eeda3a9 100644 --- a/.github/workflows/php-compatibility.yml +++ b/.github/workflows/php-compatibility.yml @@ -44,14 +44,14 @@ jobs: # Runs PHP compatibility testing. php-compatibility: name: Check PHP compatibility - uses: ./.github/workflows/reusable-php-compatibility.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-php-compatibility.yml@trunk permissions: contents: read if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} slack-notifications: name: Slack Notifications - uses: ./.github/workflows/slack-notifications.yml + uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk permissions: actions: read contents: read diff --git a/.github/workflows/phpunit-tests.yml b/.github/workflows/phpunit-tests.yml index 2feb89a063879..ecb571f62bcc6 100644 --- a/.github/workflows/phpunit-tests.yml +++ b/.github/workflows/phpunit-tests.yml @@ -55,7 +55,7 @@ jobs: # test-with-mysql: name: PHP ${{ matrix.php }} - uses: ./.github/workflows/reusable-phpunit-tests-v3.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk permissions: contents: read secrets: inherit @@ -126,7 +126,7 @@ jobs: # test-with-mariadb: name: PHP ${{ matrix.php }} - uses: ./.github/workflows/reusable-phpunit-tests-v3.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk permissions: contents: read secrets: inherit @@ -176,7 +176,7 @@ jobs: # test-innovation-releases: name: PHP ${{ matrix.php }} - uses: ./.github/workflows/reusable-phpunit-tests-v3.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk permissions: contents: read secrets: inherit @@ -219,7 +219,7 @@ jobs: # specific-test-groups: name: ${{ matrix.phpunit-test-groups }} - uses: ./.github/workflows/reusable-phpunit-tests-v3.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk permissions: contents: read secrets: inherit @@ -239,7 +239,7 @@ jobs: slack-notifications: name: Slack Notifications - uses: ./.github/workflows/slack-notifications.yml + uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk permissions: actions: read contents: read diff --git a/.github/workflows/test-and-zip-default-themes.yml b/.github/workflows/test-and-zip-default-themes.yml index 03dd6db36dec0..c90ba390efdc2 100644 --- a/.github/workflows/test-and-zip-default-themes.yml +++ b/.github/workflows/test-and-zip-default-themes.yml @@ -203,7 +203,7 @@ jobs: slack-notifications: name: Slack Notifications - uses: ./.github/workflows/slack-notifications.yml + uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk permissions: actions: read contents: read diff --git a/.github/workflows/test-build-processes.yml b/.github/workflows/test-build-processes.yml index 966a458550dc3..7366e1f3e5e58 100644 --- a/.github/workflows/test-build-processes.yml +++ b/.github/workflows/test-build-processes.yml @@ -48,7 +48,7 @@ jobs: # Tests the WordPress Core build process on multiple operating systems. test-core-build-process: name: Core running from ${{ matrix.directory }} - uses: ./.github/workflows/reusable-test-core-build-process.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-test-core-build-process.yml@trunk permissions: contents: read if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} @@ -80,7 +80,7 @@ jobs: # See https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability. test-core-build-process-macos: name: Core running from ${{ matrix.directory }} - uses: ./.github/workflows/reusable-test-core-build-process.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-test-core-build-process.yml@trunk permissions: contents: read if: ${{ github.repository == 'WordPress/wordpress-develop' }} @@ -96,7 +96,7 @@ jobs: # Tests the Gutenberg plugin build process on multiple operating systems when run within a wordpress-develop checkout. test-gutenberg-build-process: name: Gutenberg running from ${{ matrix.directory }} - uses: ./.github/workflows/reusable-test-gutenberg-build-process.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-test-gutenberg-build-process.yml@trunk permissions: contents: read if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} @@ -119,7 +119,7 @@ jobs: # See https://docs.github.com/en/actions/learn-github-actions/contexts#context-availability. test-gutenberg-build-process-macos: name: Gutenberg running from ${{ matrix.directory }} - uses: ./.github/workflows/reusable-test-gutenberg-build-process.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-test-gutenberg-build-process.yml@trunk permissions: contents: read if: ${{ github.repository == 'WordPress/wordpress-develop' }} @@ -134,7 +134,7 @@ jobs: slack-notifications: name: Slack Notifications - uses: ./.github/workflows/slack-notifications.yml + uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk permissions: actions: read contents: read diff --git a/.github/workflows/test-coverage.yml b/.github/workflows/test-coverage.yml index dbf9b79b9393e..61bbad7b00b03 100644 --- a/.github/workflows/test-coverage.yml +++ b/.github/workflows/test-coverage.yml @@ -49,7 +49,7 @@ jobs: # test-coverage-report: name: ${{ matrix.multisite && 'Multisite' || 'Single site' }} report - uses: ./.github/workflows/reusable-phpunit-tests-v3.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-phpunit-tests-v3.yml@trunk permissions: contents: read if: ${{ github.repository == 'WordPress/wordpress-develop' }} @@ -67,7 +67,7 @@ jobs: slack-notifications: name: Slack Notifications - uses: ./.github/workflows/slack-notifications.yml + uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk permissions: actions: read contents: read diff --git a/.github/workflows/test-old-branches.yml b/.github/workflows/test-old-branches.yml index 5272ec7369f5b..0687a5de53df4 100644 --- a/.github/workflows/test-old-branches.yml +++ b/.github/workflows/test-old-branches.yml @@ -132,7 +132,7 @@ jobs: slack-notifications: name: Slack Notifications - uses: ./.github/workflows/slack-notifications.yml + uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk permissions: actions: read contents: read diff --git a/.github/workflows/upgrade-develop-testing.yml b/.github/workflows/upgrade-develop-testing.yml index a5483998402ed..4ce4b6182c882 100644 --- a/.github/workflows/upgrade-develop-testing.yml +++ b/.github/workflows/upgrade-develop-testing.yml @@ -46,14 +46,14 @@ jobs: # Build WordPress from the current branch ready for the upgrade tests. build: name: Build - uses: ./.github/workflows/reusable-build-package.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-build-package.yml@trunk permissions: contents: read # Run upgrade tests for the current branch. upgrade-tests-develop: name: Upgrade from ${{ matrix.wp }} - uses: ./.github/workflows/reusable-upgrade-testing.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-upgrade-testing.yml@trunk if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} needs: [ build ] strategy: @@ -85,7 +85,7 @@ jobs: slack-notifications: name: Slack Notifications - uses: ./.github/workflows/slack-notifications.yml + uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk permissions: actions: read contents: read diff --git a/.github/workflows/upgrade-testing.yml b/.github/workflows/upgrade-testing.yml index 8f3320f216b0c..386d4ba54777a 100644 --- a/.github/workflows/upgrade-testing.yml +++ b/.github/workflows/upgrade-testing.yml @@ -57,7 +57,7 @@ jobs: # Tests the full list of PHP/MySQL combinations for the last two versions of WordPress. upgrade-tests-last-two-releases: name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }} - uses: ./.github/workflows/reusable-upgrade-testing.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-upgrade-testing.yml@trunk if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} strategy: fail-fast: false @@ -92,7 +92,7 @@ jobs: # Tests the remaining 6.x releases on the oldest and newest supported versions of PHP 7 & 8. upgrade-tests-wp-6x-mysql: name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }} - uses: ./.github/workflows/reusable-upgrade-testing.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-upgrade-testing.yml@trunk if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} strategy: fail-fast: false @@ -120,7 +120,7 @@ jobs: # Tests 5.x releases where the WordPress database version changed on the oldest and newest supported versions of PHP 7. upgrade-tests-wp-5x-php-7x-mysql: name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }} - uses: ./.github/workflows/reusable-upgrade-testing.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-upgrade-testing.yml@trunk if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} strategy: fail-fast: false @@ -152,7 +152,7 @@ jobs: # - array/string offset with curly braces. upgrade-tests-wp-5x-php-8x-mysql: name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }} - uses: ./.github/workflows/reusable-upgrade-testing.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-upgrade-testing.yml@trunk if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} strategy: fail-fast: false @@ -177,7 +177,7 @@ jobs: # The oldest version of WordPress receiving security updates should always be tested. upgrade-tests-wp-4x-php-7x-mysql: name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }} - uses: ./.github/workflows/reusable-upgrade-testing.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-upgrade-testing.yml@trunk if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} strategy: fail-fast: false @@ -211,7 +211,7 @@ jobs: # - array/string offset with curly braces. upgrade-tests-wp-4x-php-8x-mysql: name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }} - uses: ./.github/workflows/reusable-upgrade-testing.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-upgrade-testing.yml@trunk if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} strategy: fail-fast: false @@ -235,7 +235,7 @@ jobs: # the full list of PHP/MySQL combinations. upgrade-tests-oldest-wp-mysql: name: ${{ matrix.wp }} to ${{ inputs.new-version && inputs.new-version || 'latest' }} - uses: ./.github/workflows/reusable-upgrade-testing.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-upgrade-testing.yml@trunk if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} strategy: fail-fast: false @@ -269,7 +269,7 @@ jobs: slack-notifications: name: Slack Notifications - uses: ./.github/workflows/slack-notifications.yml + uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk permissions: actions: read contents: read diff --git a/.github/workflows/workflow-lint.yml b/.github/workflows/workflow-lint.yml index 0487c309a7632..4ea1f8fa5a93c 100644 --- a/.github/workflows/workflow-lint.yml +++ b/.github/workflows/workflow-lint.yml @@ -32,7 +32,7 @@ permissions: {} jobs: lint: name: Lint GitHub Action files - uses: ./.github/workflows/reusable-workflow-lint.yml + uses: WordPress/wordpress-develop/.github/workflows/reusable-workflow-lint.yml@trunk if: ${{ github.repository == 'WordPress/wordpress-develop' || ( github.event_name == 'pull_request' && github.actor != 'dependabot[bot]' ) }} permissions: security-events: write @@ -41,7 +41,7 @@ jobs: slack-notifications: name: Slack Notifications - uses: ./.github/workflows/slack-notifications.yml + uses: WordPress/wordpress-develop/.github/workflows/slack-notifications.yml@trunk permissions: actions: read contents: read diff --git a/docker-compose.yml b/docker-compose.yml index 48f3abc607b03..ca646ff75f3d0 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -32,7 +32,7 @@ services: # The PHP container. ## php: - image: wordpressdevelop/php:${LOCAL_PHP-latest} + image: wordpressdevelop/php:${LOCAL_PHP-8.4-fpm} networks: - wpdevnet