Skip to content

Commit

Permalink
Merge pull request #653 from ebmdatalab/iaindillingham/fix-typos
Browse files Browse the repository at this point in the history
Fix typos
  • Loading branch information
iaindillingham authored Dec 2, 2024
2 parents e9bda65 + ea1777c commit cf3b992
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# bennettbot

bennettbot is a service for running jobs in reponse to Slack commands and GitHub webhooks.
bennettbot is a service for running jobs in response to Slack commands and GitHub webhooks.

A job runs a bash command in a given directory.
Jobs are organised by namespace, and are defined in `job_configs.py`.
Expand Down Expand Up @@ -72,7 +72,7 @@ slack command ("say hello"), which schedules the "hello" job with a

```
raw_config = {
"example": {
"test": {
"jobs": {
"hello": {
"run_args_template": "echo Hello",
Expand All @@ -91,7 +91,7 @@ raw_config = {
}
}
```
Call this with `@BennettBot example say hello`; after a 1 second delay, BennettBot
Call this with `@BennettBot test say hello`; after a 1 second delay, BennettBot
will run `echo hello`, write the output to its log folder, and report the
contents to slack.

Expand All @@ -100,7 +100,7 @@ contents to slack.

Jobs and commands can be parameterised. A slack command uses square brackets
to indicate an expected parameter, which will be templated into the same named
paramter in `run_args_template`.
parameter in `run_args_template`.

```
raw_config = {
Expand Down
2 changes: 1 addition & 1 deletion scripts/local-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ GCP_CREDENTIALS_PATH="$WRITEABLE_DIR/gcp-credentials.json"
# ensure writeable_dir exists
mkdir -p "$WRITEABLE_DIR"

# load ensure_values function
# load ensure_value function
# shellcheck disable=SC1091
. "$BASE_DIR/scripts/lib.sh"

Expand Down

0 comments on commit cf3b992

Please sign in to comment.