From 3acba8cb61b6ce96c9321be51fb04afb6b3508e9 Mon Sep 17 00:00:00 2001 From: Randell Dawson Date: Tue, 20 Nov 2018 17:40:08 -0800 Subject: [PATCH] feat: added descriptions to one-off scripts --- one-off-scripts/addTestLocallyLabel.js | 6 ++++++ one-off-scripts/findFailures.js | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/one-off-scripts/addTestLocallyLabel.js b/one-off-scripts/addTestLocallyLabel.js index 781e6d6e1b..0ffb76844e 100644 --- a/one-off-scripts/addTestLocallyLabel.js +++ b/one-off-scripts/addTestLocallyLabel.js @@ -1,3 +1,9 @@ +/* +This is a one-off script to run on all open PRs to add the +"status: need to test locally" label to any PR with an existing "scope: curriculum" +label on it. +*/ + require('dotenv').config({ path: '../.env' }); const { owner, repo, octokitConfig, octokitAuth } = require('../constants'); diff --git a/one-off-scripts/findFailures.js b/one-off-scripts/findFailures.js index e54b8c3969..566a666a93 100644 --- a/one-off-scripts/findFailures.js +++ b/one-off-scripts/findFailures.js @@ -1,3 +1,8 @@ +/* +This is a one-off script to find all open PRs which have one of the console.error +descriptions in the failuresToFind.json file. +*/ + require('dotenv').config({ path: '../.env' }); const Travis = require('travis-ci');