summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2022-03-14 18:45:35 +0100
committergit <svn-admin@ruby-lang.org>2022-03-15 04:44:33 +0900
commit6a8bc90278ca39546a76c8a669f732ce3fc8d417 (patch)
treee3f2056ceaa97ce765797ef3e63c950c9e57020f /lib
parentb7fe052a062cbcdc4f21d69850fd0c29a4d727b2 (diff)
[rubygems/rubygems] Report Github Actions CI provider within user agent string
See https://docs.github.com/es/actions/learn-github-actions/environment-variables#default-environment-variables. So that we can show stats about it at https://ecosystem.rubytogether.org https://github.com/rubygems/rubygems/commit/48d6dc68f8
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/fetcher.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/fetcher.rb b/lib/bundler/fetcher.rb
index e07f925107..6fe047568f 100644
--- a/lib/bundler/fetcher.rb
+++ b/lib/bundler/fetcher.rb
@@ -226,6 +226,7 @@ module Bundler
"GO_SERVER_URL" => "go",
"SNAP_CI" => "snap",
"GITLAB_CI" => "gitlab",
+ "GITHUB_ACTIONS" => "github",
"CI_NAME" => ENV["CI_NAME"],
"CI" => "ci",
}