Skip to content

Commit

Permalink
Fix comment duplication in configuration file.
Browse files Browse the repository at this point in the history
For some reason, setting the default value for the config to be `{}`
causes the comment below this to be duplicated. Other plugins seem to
set sensible defaults or placeholders instead.

This sets defaults based on the ansible (discourse) backend.
  • Loading branch information
webpigeon committed Jul 3, 2024
1 parent 5350eae commit 755cd6f
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions base-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,13 @@
powerlevel: 50

# Which backend to use
backend:
backend_data: {}
backend: ansible
backend_data:
ansible:
discourse_user: meetbot
discourse_key: key_goes_here
discourse_url: https://example.com
category_id: 1

# Does the prefix need to occur at the start of the message?
# - True: needs to be at the start of the message, e.g "^action thing"
Expand Down

0 comments on commit 755cd6f

Please sign in to comment.