diff --git a/README.md b/README.md index f3a3724..35d3607 100644 --- a/README.md +++ b/README.md @@ -42,25 +42,25 @@ Both the **GitHub** and **Slack** integrations must be configured in order to us 4. **Optionally create a cron schedule** - Use this to configure the skill to check all of the repositories periodically, instead of - only on pushes to the repository. +Use this to configure the skill to check all of the repositories periodically, instead of +only on pushes to the repository. - ![schedule](docs/images/schedule.png) +![schedule](docs/images/schedule.png) 5. **Select the set of Repos that should have this branch protection rule** - ![repo-filter](docs/images/repo-filter.png) +![repo-filter](docs/images/repo-filter.png) ## How to use Git Check Repo Contents - All selected repositories will be checked after each Push. If they are found to be missing the branch protection - rule, then it will be configured. +All selected repositories will be checked after each Push. If they are found to be missing the branch protection +rule, then it will be configured. - Users can also interactively kick off this skill using Slack. +Users can also interactively kick off this skill using Slack. - ``` - @atomist sync branch protection rules - ``` +``` +@atomist sync branch protection rules +``` diff --git a/localRun.js b/localRun.js deleted file mode 100644 index 90a56a7..0000000 --- a/localRun.js +++ /dev/null @@ -1,25 +0,0 @@ -var lr = require('@atomist/api-cljs/atomist.local_runner'); -var main = require('./index.js'); -var fs = require("fs"); - -lr.setEnv("prod-github-auth"); - -var fakePushEvent = lr.addConfiguration( - lr.fakePushEvent("AEIB5886C", "slimslender", {name: "clj1", id: "AEIB5886C_AEIB5886C_slimslender_132627478"}, "master"), - {name: "default", parameters: [{name: "topic", - value: "clojure"}, - {name: "branchPattern", - value: "master"}, - {name: "allow_force_pushes", - value: true}, - {name: "required_approving_review_count", - value: 1}, - {name: "required_status_checks", - value: ["github-secret-scanner-skill"]}, - {name: "required_linear_history", - value: false}]} -); - -lr.callEventHandler( - fakePushEvent, - main.handler);