Repository navigation
Conversation
This modifies the conditions for GitHub Actions workflow runs so that they do not run within private forks and mirrors for `pull_request` events when the PR is in `draft` status. For situations where this may be desirable, a `Draft Workflow Runs` label can be added to a `draft` pull request to force workflows to run. Props desrosj, jorbin. See #65848. git-svn-id: https://develop.svn.wordpress.org/trunk@63183 602fd350-edb4-49c9-b593-d223f7449a82
Test using WordPress PlaygroundThe changes in this pull request can previewed and tested using a WordPress Playground instance. WordPress Playground is an experimental project that creates a full WordPress instance entirely within the browser. Some things to be aware of
For more details about these limitations and more, check out the Limitations page in the WordPress Playground documentation. |
pull_request triggered runs in private repos.
|
| Location | Error | Identifier | First reported |
|---|---|---|---|
src/wp-admin/load-scripts.php:68 |
Function get_file not found. |
function.notFound |
96ae830 |
src/wp-admin/load-styles.php:83 |
Function get_file not found. |
function.notFound |
96ae830 |
Running PHPStan locally
To run the analysis on your own machine, use npm run typecheck:php, or composer phpstan outside the Docker environment.
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. Core Committers: Use this line as a base for the props when committing in SVN: To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. Props Bot commandsYou can trigger Props Bot actions by commenting on this PR:
|
lancewillett
left a comment
There was a problem hiding this comment.
Compared with r63183 and the 7.0 branch workflows: every pull_request job on this branch now has the same private-repo, draft, and Draft Workflow Runs label condition as trunk (18 jobs across 11 files), and nothing else changes. Workflows trunk touched that this branch lacks are correctly left out. Job uses: lines keep @trunk, which matches how this branch calls its reusable workflows. It merges cleanly into the current 7.0 tip (90618cc). CI: 126 passed, 34 skipped, 0 failed.
AI review · claude-opus-5-5
Backports r63183 to the 7.0 branch.
In private forks and mirrors,
pull_requestworkflows no longer run for draft PRs unless theDraft Workflow Runslabel is added. The condition is applied to each job on this branch that runs forpull_requestevents outside ofWordPress/wordpress-develop. Workflows from the trunk commit that don't exist on this branch are skipped.Differences from trunk:
uses:references inupgrade-develop-testing.ymlandworkflow-lint.ymlstill point to@trunk. This branch has no local reusable workflows.Trac ticket: https://core.trac.wordpress.org/ticket/65845
Use of AI Tools
This pull request was created by an AI agent (Claude Code). Until this PR is marked "Ready for Review", treat it as untrusted, AI-created code that requires a manual review by a human team member.
🤖 Generated with Claude Code