Skip to content

ONLYOFFICE-QA/telegram-github-changes-bot

Repository files navigation

telegram-github-changes

Telegram bot for sending messages about github changes

Config

By file config.json with data

{
  "github_api_endpoint": "https://my-gitea-server.com/api/v1",
  "github_web_url": "https://my-gitea-server.com",
  "github_token": "my-personal-access-token",
  "repos": [
    {
      "name": "MY-ORG/my-repo"
    },
    {
      "name": "MY-ORG/my-repo-without-tags",
      "skip_if_refs_not_found": true
    }
  ],
  "telegram_bot_token": "my-telegram-token"
}

Note: Authentication uses the token prefix (Authorization: token <TOKEN>), which is compatible with Gitea and GitHub classic personal access tokens. GitHub fine-grained personal access tokens are not supported.

Usage

Compare two versions

/get_changes v6.5.0.46...v6.5.0.57

Returns a link to the diff between two specified refs (tags or branches) for each repo listed in config.json.

Compare a version with the latest tag

/get_changes v6.5.0.46

Returns a link to the diff between the specified ref and the latest tag in the repository. Useful to see what changed since your current version.

Help

/help

Shows usage instructions.

Docker compose

docker compose up -d

How to update

git pull --prune
docker compose down
docker compose up -d

About

Git bot for sending messages about github changes

Topics

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors