From 63a6fa0c43d885b5f367372c06c578548d0b6384 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Sun, 17 Jan 2021 11:44:49 +0100 Subject: Initial import --- config.example.toml | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 config.example.toml (limited to 'config.example.toml') diff --git a/config.example.toml b/config.example.toml new file mode 100644 index 0000000..ad30ab1 --- /dev/null +++ b/config.example.toml @@ -0,0 +1,38 @@ +# This file contains: +# +# ``` +# base = "" +# client_id = "" +# client_secret = "" +# redirect = "" +# token = "" +# ``` +# +mastodon_data = "./mastodon-data.toml" + +# Path to the repository to update +repository_path = "/tmp/test-repo" + +# the name of the master branch +master_branch_name = "master" + +# the name of the upstream remote +origin_remote_name = "origin" + +# How many hours to go back +hours_to_check = 24 + +# ISO 639-1 code of the language the post is written in (required for mastodon) +status_language = "en" + +# Template. +# Available variables: +# - commits +# - merges +# - nonmerges +# +status_template = '' + In the last 24 hours, there were {{commits}} on master of TEST REPO, + of which {{merges}} were merges and {{nonmerges}} were direct (and thus potentially breaking) commits to the master branch. +'' + -- cgit v1.2.3