[wp-trac] [WordPress Trac] #57556: Configure feature branches on GitHub to trigger workflows to support development on forks

WordPress Trac noreply at wordpress.org
Tue Jan 21 22:45:51 UTC 2025


#57556: Configure feature branches on GitHub to trigger workflows to support
development on forks
----------------------------------+------------------------------
 Reporter:  flixos90              |       Owner:  (none)
     Type:  enhancement           |      Status:  new
 Priority:  normal                |   Milestone:  Awaiting Review
Component:  Build/Test Tools      |     Version:
 Severity:  normal                |  Resolution:
 Keywords:  has-patch needs-docs  |     Focuses:
----------------------------------+------------------------------

Comment (by peterwilsoncc):

 I did a test using an environment variable to allow running tests against
 `feature/` branches with a PR against my own repo. As it's a POC, I only
 tested with the phpunit test suite.

 See [https://github.com/peterwilsoncc/wordpress-develop/pull/83
 peterwilsoncc/wordpress-develop#83]

 If the variable `ALLOW_FEATURE_BRANCHES == 'true'` the actions run,
 otherwise they are skipped.

 * [https://github.com/peterwilsoncc/wordpress-
 develop/actions/runs/12897120086 Action run without environment variable]
 * [https://github.com/peterwilsoncc/wordpress-
 develop/actions/runs/12897160236 Action run with the environment variable]

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57556#comment:11>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list