diff options
author | David RodrÃguez <[email protected]> | 2022-03-14 18:45:35 +0100 |
---|---|---|
committer | git <[email protected]> | 2022-03-15 04:44:33 +0900 |
commit | 6a8bc90278ca39546a76c8a669f732ce3fc8d417 (patch) | |
tree | e3f2056ceaa97ce765797ef3e63c950c9e57020f /lib | |
parent | b7fe052a062cbcdc4f21d69850fd0c29a4d727b2 (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.rb | 1 |
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", } |