Skip to content

[FEAT] New Version Github Action#1

Merged
Salmansha08 merged 8 commits intomasterfrom
dev
Dec 31, 2025
Merged

[FEAT] New Version Github Action#1
Salmansha08 merged 8 commits intomasterfrom
dev

Conversation

@Salmansha08
Copy link
Owner

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.md for 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:

  • Completely rewrote README.md to 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.
  • Removed the legacy Chinese documentation file README.zh-cn.md, which was based on the old usage and input variables.

Configuration and Environment Variables:

  • Added .env.example with new variables: TELEGRAM_BOT_TOKEN, TELEGRAM_CHAT_ID, and TELEGRAM_THREAD_ID to guide users in setting up required secrets for Telegram integration.

Workflow and CI/CD Updates:

  • Removed old workflow files: .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]
  • Added a new streamlined workflow .github/workflows/main.yml that sends a Telegram notification on pushes to main or dev branches, demonstrating the recommended usage with environment secrets and topic support.

Build and Release Configuration:

  • Removed the .goreleaser.yaml file, indicating that GoReleaser-based builds and changelogs are no longer part of the release process.

Docker Image Update:

  • Switched the Dockerfile base image from ghcr.io/appleboy/drone-telegram:1.4.0 to alpine:3.23, installing only necessary dependencies (curl, jq) for a slimmer and more maintainable image.

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
…README with environment secret configuration, and include `.env.example`
@Salmansha08 Salmansha08 self-assigned this Dec 31, 2025
@Salmansha08 Salmansha08 added the enhancement New feature or request label Dec 31, 2025
@Salmansha08 Salmansha08 merged commit 03bfd84 into master Dec 31, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant