We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fdb42b7 commit d54bf23Copy full SHA for d54bf23
lib/manageiq/cross_repo/runner/github.rb
@@ -13,6 +13,17 @@ def self.available?
13
14
private
15
16
+ def env_vars
17
+ super.merge(
18
+ "CI" => "true",
19
+ "GITHUB_BASE_REF" => nil, # TODO: test_repo.base_ref,
20
+ "GITHUB_REF_NAME" => test_repo.ref || test_repo.sha,
21
+ "GITHUB_REPOSITORY" => test_repo.identifier,
22
+ "GITHUB_REPOSITORY_OWNER" => test_repo.org,
23
+ "GITHUB_SERVER_URL" => "https://github.com"
24
+ )
25
+ end
26
+
27
def ci_config
28
github_config = YAML.load_file(CONFIG_FILE)
29
0 commit comments