mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
After [56958], pull requests to `wordpress-develop` can be tested within a WordPress Playground instance. However this capability is not obvious. This makes several updates to GitHub action workflows to avoid unnecessary extra runs/jobs while also commenting on pull requests with proper context for testing in Playground once a build is available for the PR. Changes: - The `build.yml` workflow has been deleted. The WordPress build process is already being tested within the `test-build-processes.yml` workflow. Now that workflow will produce and upload the built artifact for the given PR. - A `pull-request-comments.yml` workflow has been added to handle the commenting. To avoid having multiple workflows that comment on PRs, the logic within the `welcome-new-contributors.yml` workflow has been merged into this one. - The `pull_request` event trigger lacks the needed permission to comment on or update pull requests. Instead of using `pull_request_target` to navigate around this, the `test-build-processes.yml` workflow will now use `workflow_dispatch` to initiate a run of the commenting workflow. This adds the ability to only comment on the PR when a build has been successfully created and uploaded as an artifact. Props swissspidy, zieladam, jeffpaul. See #59416. git-svn-id: https://develop.svn.wordpress.org/trunk@57124 602fd350-edb4-49c9-b593-d223f7449a82 |
||
|---|---|---|
| .. | ||
| callable-test-core-build-process.yml | ||
| callable-test-gutenberg-build-process.yml | ||
| coding-standards.yml | ||
| end-to-end-tests.yml | ||
| failed-workflow.yml | ||
| install-testing.yml | ||
| javascript-tests.yml | ||
| performance.yml | ||
| php-compatibility.yml | ||
| phpunit-tests-run.yml | ||
| phpunit-tests.yml | ||
| pull-request-comments.yml | ||
| slack-notifications.yml | ||
| test-and-zip-default-themes.yml | ||
| test-build-processes.yml | ||
| test-coverage.yml | ||
| test-old-branches.yml | ||
| upgrade-testing-run.yml | ||
| upgrade-testing.yml | ||