Skip to content

Commit

Permalink
Merge pull request github#74 from github/use-https-for-dotcom
Browse files Browse the repository at this point in the history
Use HTTPS (not HTTP) for api.github.com
  • Loading branch information
jasonrudolph committed Oct 13, 2015
2 parents c91cc95 + 065ca8d commit d82678b
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions api/ruby/2fa_checker.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# These environment variables must be set:
# - GITHUB_TOKEN: A valid personal access token with Organzation admin priviliges
# - GITHUB_API_ENDPOINT: A valid GitHub/GitHub Enterprise API endpoint URL
# (use http://api.github.com for GitHub.com auditing)
# (use https://api.github.com for GitHub.com auditing)
#
# Requires the Octokit Rubygem: https://github.com/octokit/octokit.rb

Expand All @@ -19,7 +19,7 @@
$stderr.puts "To run this script, please set the following environment variables:"
$stderr.puts "- GITHUB_TOKEN: A valid personal access token with Organzation admin priviliges"
$stderr.puts "- GITHUB_API_ENDPOINT: A valid GitHub/GitHub Enterprise API endpoint URL"
$stderr.puts " (use http://api.github.com for GitHub.com auditing)"
$stderr.puts " (use https://api.github.com for GitHub.com auditing)"
exit 1
end

Expand Down
4 changes: 2 additions & 2 deletions api/ruby/instance-auditing/instance_auditor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
# These environment variables must be set:
# - GITHUB_TOKEN: A valid personal access token with Organzation admin priviliges
# - GITHUB_API_ENDPOINT: A valid GitHub/GitHub Enterprise API endpoint URL
# (use http://api.github.com for GitHub.com auditing)
# (use https://api.github.com for GitHub.com auditing)
#
# Requires the Octokit Rubygem: https://github.com/octokit/octokit.rb
# Requires the axlsx Rubygem: https://github.com/randym/axlsx
Expand All @@ -22,7 +22,7 @@
$stderr.puts "To run this script, please set the following environment variables:"
$stderr.puts "- GITHUB_TOKEN: A valid personal access token with Organzation admin priviliges"
$stderr.puts "- GITHUB_API_ENDPOINT: A valid GitHub/GitHub Enterprise API endpoint URL"
$stderr.puts " (use http://api.github.com for GitHub.com auditing)"
$stderr.puts " (use https://api.github.com for GitHub.com auditing)"
exit 1
end

Expand Down
4 changes: 2 additions & 2 deletions api/ruby/team_audit.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# These environment variables must be set:
# - GITHUB_TOKEN: A valid personal access token with Organzation admin priviliges
# - GITHUB_API_ENDPOINT: A valid GitHub/GitHub Enterprise API endpoint URL
# (use http://api.github.com for GitHub.com auditing)
# (use https://api.github.com for GitHub.com auditing)
#
# Requires the Octokit Rubygem: https://github.com/octokit/octokit.rb

Expand All @@ -19,7 +19,7 @@
$stderr.puts "To run this script, please set the following environment variables:"
$stderr.puts "- GITHUB_TOKEN: A valid personal access token with Organzation admin priviliges"
$stderr.puts "- GITHUB_API_ENDPOINT: A valid GitHub/GitHub Enterprise API endpoint URL"
$stderr.puts " (use http://api.github.com for GitHub.com auditing)"
$stderr.puts " (use https://api.github.com for GitHub.com auditing)"
exit 1
end

Expand Down

0 comments on commit d82678b

Please sign in to comment.