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.
|
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:
|
Backports r63183 to the 7.1 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