Merged
Conversation
add Telegram topic, photo, and document support, update CI, and remove proxy, sticker, audio, video, location, and venue options
…s in README examples and table, and ignore .env files
…ons on push events
…adjust README secret formatting
…README with environment secret configuration, and include `.env.example`
…in and dev branches
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces significant updates to modernize and simplify the Telegram GitHub Action, with a focus on improved documentation, streamlined configuration, and enhanced support for Telegram forum topics. The changes include a complete rewrite of the
README.mdfor better clarity, the addition of new environment variable examples, the removal of legacy CI and release workflows, and a switch to a slimmer Docker image. Below are the most important changes grouped by theme:Documentation and Usage Overhaul:
README.mdto provide clearer usage instructions, examples for forum topic support, updated input parameters, setup for GitHub environment secrets, and credential retrieval steps. The new documentation is more user-friendly and highlights native topic support.README.zh-cn.md, which was based on the old usage and input variables.Configuration and Environment Variables:
.env.examplewith new variables:TELEGRAM_BOT_TOKEN,TELEGRAM_CHAT_ID, andTELEGRAM_THREAD_IDto guide users in setting up required secrets for Telegram integration.Workflow and CI/CD Updates:
.github/workflows/ci.yml(which contained various Telegram message tests) and.github/workflows/goreleaser.yml(GoReleaser publishing), reflecting a move away from legacy CI/CD practices. [1] [2].github/workflows/main.ymlthat sends a Telegram notification on pushes tomainordevbranches, demonstrating the recommended usage with environment secrets and topic support.Build and Release Configuration:
.goreleaser.yamlfile, indicating that GoReleaser-based builds and changelogs are no longer part of the release process.Docker Image Update:
Dockerfilebase image fromghcr.io/appleboy/drone-telegram:1.4.0toalpine:3.23, installing only necessary dependencies (curl,jq) for a slimmer and more maintainable image.