Module: octokit

Methods

(inner) anonymiseData(data) → {Object}

Cryptographically anonymise the data of an issue body to ensure privacy of users. Anonymise the following parameters (if present): email, ip, name, reCAPTCHA response. The anonymised data can be used for reference by server admins with the possession of the server's secret.
Parameters:
Name Type Description
data Object
Source:
Returns:
anonymised data
Type
Object

(async, inner) createBugreportIssue(bugreport)

Create bugreport Github issue: Anonymise PII in bugreport, create formatted issue body and post the issue to Github via Github API.
Parameters:
Name Type Description
bugreport Object
Source:

(async, inner) createFeatureRequestIssue(featureRequest)

Create feature request Github issue: Anonymise PII in feature request, create formatted issue body and post the issue to Github via Github API.
Parameters:
Name Type Description
featureRequest Object
Source:

(async, inner) createIssue(title, body, label)

Create an issue on Github via Github API with given issue title, body and label.
Parameters:
Name Type Description
title String
body String
label String
Source:

(inner) createIssueBody(data) → {String}

Create markdown formatted issue body string from pretty printed issue data and metadata.
Parameters:
Name Type Description
data Object
Source:
Returns:
markdown formatted issue body
Type
String