This repository contains code to help us do support on the GOV.UK Design System team.
- Git
- Node.js (npm)
- Security access to credentials
Clone this repository to your machine locally and then pull it's dependencies using
npm install
You'll need access to BitWarden to access the credentials for ZenDesk.
- Copy .env.example to .env
- Fill in credentials
.env is ignored by git, but make sure not to put these credentials into version control
When doing analysis of our support, we take Slack, Zendesk and Github data and bring them together.
You can generate CSVs from Zendesk and Github, which then need to be copied into the main spreadsheet.
all CSV files in this repository are ignored by git, but make sure not to put these credentials into version control
npm run build:csv
npm run build:csv:zendesk
npm run build:csv:github
You can adjust how far back to pull Github issues by passing the createdMonthsAgo
argument in the command line.
The default is 1 month.
npm run build:csv:github -- --createdMonthsAgo=3