Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. GithubActionReporter.php

function GithubActionReporter::isGithubActionEnvironment

1 call to GithubActionReporter::isGithubActionEnvironment()
LintCommand::execute in vendor/symfony/yaml/Command/LintCommand.php
Executes the current command.

File

vendor/symfony/console/CI/GithubActionReporter.php, line 48

Class

GithubActionReporter
Utility class for Github actions.

Namespace

Symfony\Component\Console\CI

Code

public static function isGithubActionEnvironment() : bool {
    return false !== getenv('GITHUB_ACTIONS');
}
RSS feed
Powered by Drupal