Skip to main content

detect_context

Function detect_context 

Source
pub fn detect_context<F: Fn(&str) -> Option<String>>(get: F) -> DetectedContext
Expand description

Read GH Actions / generic CI env to populate as much of GithubContext as possible. The caller mixes in CLI overrides.