From 50fab6f6b4b77ba7da0223e6fe74889324787965 Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Sun, 5 Jun 2022 14:04:39 +0000 Subject: [PATCH] Tests: Update the URL to the documentation on GitHub Actions environment variables. Follow-up to [49264]. See #55652. git-svn-id: https://develop.svn.wordpress.org/trunk@53467 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/includes/abstract-testcase.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/includes/abstract-testcase.php b/tests/phpunit/includes/abstract-testcase.php index d50e4e7d52..56b38a2fa1 100644 --- a/tests/phpunit/includes/abstract-testcase.php +++ b/tests/phpunit/includes/abstract-testcase.php @@ -212,7 +212,7 @@ abstract class WP_UnitTestCase_Base extends PHPUnit_Adapter_TestCase { * we want to skip tests that only need to run for trunk. */ public function skipOnAutomatedBranches() { - // https://docs.github.com/en/free-pro-team@latest/actions/reference/environment-variables#default-environment-variables + // https://docs.github.com/en/actions/learn-github-actions/environment-variables#default-environment-variables $github_event_name = getenv( 'GITHUB_EVENT_NAME' ); $github_ref = getenv( 'GITHUB_REF' );