NAME

App::Project::Doctor::Check::CI - Check that a CI configuration exists

DESCRIPTION

Reports an error when no supported CI configuration is found. Detailed GitHub Actions validation is handled by App::Project::Doctor::Check::GitHubActions.

METHODS

check( $context )

Inspects the distro root for any recognised CI configuration.

API SPECIFICATION

Input

$context : App::Project::Doctor::Context

Output

List of exactly one App::Project::Doctor::Finding --
  pass    when at least one CI config file or directory is present,
  error   (fixable) when none are found.

MESSAGES

Code | Trigger           | Resolution
-----|-------------------|------------------------------------
C001 | No CI config      | Fix generates a workflow via App::GHGen::Generator

FORMAL SPECIFICATION

check : Context -> [Finding]
check ctx == if exists any CI_PATH in ctx then [pass] else [error+fix]

AUTHOR

Nigel Horne <njh@nigelhorne.com>

LICENSE

Copyright (C) 2026 Nigel Horne. This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.