Skip to content

Commit c68bee9

Browse files
authored
remove informational logging to prevent API token leaks.
1 parent 029a9b3 commit c68bee9

File tree

1 file changed

+0
-4
lines changed
  • hooks/ruby/delete-repository-event

1 file changed

+0
-4
lines changed

hooks/ruby/delete-repository-event/app.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -32,10 +32,6 @@
3232
# When receiving a webhook for repository deletion (https://developer.github.com/v3/activity/events/types/#repositoryevent)
3333
# create an issue in the `github_notification_repository` set by environment variable
3434
post '/delete-repository-event' do
35-
logger.info github_api_token
36-
logger.info github_host_url
37-
logger.info github_notification_repository
38-
3935
begin
4036
github_event = request.env['HTTP_X_GITHUB_EVENT']
4137
if github_event == "repository"

0 commit comments

Comments
 (0)