-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: convert issue metrics to use files rather than issues (#24)
Signed-off-by: Tierney Cyren <[email protected]>
- Loading branch information
Showing
6 changed files
with
74 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,11 +7,11 @@ | |
"retro:twilio": "node utilities/retros/twilio.js", | ||
"retro:twilio-labs": "node utilities/retros/twilio-labs.js", | ||
"retro:twilio-samples": "node utilities/retros/twilio-samples.js", | ||
"convert": "npm run convert:contributors", | ||
"convert:contributors": "npm run convert:contributors:twilio && npm run convert:contributors:twilio-labs && npm run convert:contributors:twilio-samples", | ||
"convert:contributors:twilio": "node utilities/convertContributors/twilio.js", | ||
"convert:contributors:twilio-labs": "node utilities/convertContributors/twilio-labs.js", | ||
"convert:contributors:twilio-samples": "node utilities/convertContributors/twilio-samples.js" | ||
"convert:contributors:twilio-samples": "node utilities/convertContributors/twilio-samples.js", | ||
"convert:metrics:sendgrid-nodejs": "node utilities/metrics/sendgrid-nodejs", | ||
"convert:metrics:twilio-node": "node utilities/metrics/twilio-node" | ||
}, | ||
"author": "Tierney Cyren <[email protected]> (https://twilio.com)", | ||
"license": "MIT", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Repository Metrics | ||
|
||
The contents of this directory are generated by a set of automation so we can better report on our open source repositories - specifically, this directory contains metrics about individual repositories we're tracking. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const convertToFileWithDate = require('../helpers/convertToFileWithDate') | ||
|
||
async function convertMetrics () { | ||
try { | ||
await convertToFileWithDate('./issue_metrics.md', './reports/metrics', 'sendgrid-nodejs') | ||
} catch (err) { | ||
console.error(err) | ||
} | ||
} | ||
|
||
convertMetrics() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
const convertToFileWithDate = require('../helpers/convertToFileWithDate') | ||
|
||
async function convertMetrics () { | ||
try { | ||
await convertToFileWithDate('./issue_metrics.md', './reports/metrics', 'twilio-node') | ||
} catch (err) { | ||
console.error(err) | ||
} | ||
} | ||
|
||
convertMetrics() |