Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix typos #653

Merged
merged 2 commits into from
Dec 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading