100 Commits
Author SHA1 Message Date
Bo-Yi Wu 390cf73457 docs(readme): expand setup guide and input reference
- Add step-by-step bot setup: BotFather token, chat ID lookup for
  private chats, groups and channels, and repository secrets
- Document comma-separated multiple recipients and glob support for
  media file inputs
- Note that file-based inputs require actions/checkout
- Add message formatting section warning about legacy Markdown
  escaping failures and recommending html for unpredictable content
- Explain template variable usage with a rendered example and show the
  default message format
- Add release and license badges, collapse the getUpdates JSON sample,
  cross-link all three language versions
2026-08-16 12:12:39 +08:00
a2d0caf64a ci: add regression test for step output interpolation (#68) (#73)
Reproduce the exact scenario from issue #68: write a value to
$GITHUB_OUTPUT in a step with an id, assert the runner interpolates
it, then send it through the message input with format: markdown.

Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
2026-08-16 11:27:58 +08:00
Bo-Yi Wu 978281de94 ci: run message tests on branch pushes only
- Tag pushes re-ran the whole suite and sent duplicate telegram
  messages on every release
2026-08-16 10:58:37 +08:00
Bo-Yi Wu dd9f2d9fa7 docs(readme): reference the floating v1 tag in examples 2026-08-16 10:57:44 +08:00
Bo-Yi Wu 4023d256c8 ci: restrict tag triggers to full semver
- Prevent the floating v1 major tag from cutting a goreleaser release
  or a docker image build
2026-08-16 10:57:44 +08:00
Bo-Yi Wu 214f06cfa3 chore(release): pin action image and docs to 1.1.1 2026-08-16 10:54:18 +08:00
Bo-Yi Wu 2608c6db39 fix(entrypoint): drop empty thread id workaround
- drone-telegram 1.5.1 handles empty INPUT_MESSAGE_THREAD_ID itself
2026-08-16 10:54:18 +08:00
Bo-Yi Wu c078210187 chore(docker): bump drone-telegram base image to 1.5.1
- Upstream now treats empty numeric env vars as unset
2026-08-16 10:54:18 +08:00
Bo-Yi Wu 7f612b977e chore: ignore .DS_Store files 2026-08-16 10:33:52 +08:00
Bo-Yi Wu c18c95644a docs(readme): pin examples to v1.1.0 and sync input tables
- Replace mutable @master references with the v1.1.0 tag
- Add required to/token rows to all input tables
- Add missing message_thread_id row to both Chinese translations
- Reword the default-message note to reference message instead of the
  removed args mechanism
2026-08-16 10:33:52 +08:00
Bo-Yi Wu 6753faf1d2 feat(action): mark to and token inputs as required
- Surface missing credentials before the container runs
2026-08-16 10:33:52 +08:00
Bo-Yi Wu 53d62f6c74 ci: add working-tree image test and drop dead args step
- Build and smoke-test the local Dockerfile/entrypoint since the action
  now runs the published ghcr image instead of the working tree
- Exercise the empty INPUT_MESSAGE_THREAD_ID guard in the smoke test
- Remove the args step which silently sent the default message
2026-08-16 10:33:52 +08:00
Bo-Yi Wu e9e9d8fda7 fix(entrypoint): remove dead args passthrough
- Container args were never wired up in action.yml (no runs.args), so
  the positional-argument branch could never fire
2026-08-16 10:33:52 +08:00
Bo-Yi Wu 16657635b3 fix(action): pin prebuilt image to versioned tag
- Replace the mutable latest tag with the immutable 1.1.0 image tag so
  released action versions stay reproducible and a bad master push
  cannot break existing users
2026-08-16 10:27:42 +08:00
Bo-Yi Wu fd541f19b0 fix(entrypoint): unset empty INPUT_MESSAGE_THREAD_ID
- The runner exports every declared input as an env var even when unset,
  and drone-telegram 1.5.0 fails to parse an empty string for the
  integer message.thread.id flag
2026-08-16 10:13:31 +08:00
Bo-Yi Wu f8121d9e5a perf(action): use prebuilt ghcr image instead of building Dockerfile
- Pull ghcr.io/appleboy/telegram-action:latest at runtime instead of
  building the Docker image on every workflow run
2026-08-16 10:11:41 +08:00
Bo-Yi Wu b8da483c2e ci(goreleaser): remove unused Go setup step
- goreleaser config skips builds, so the Go toolchain is never used
2026-08-16 10:10:14 +08:00
Bo-Yi Wu 724a55ccf8 chore(docker): drop redundant chmod layer
- entrypoint.sh already carries the executable bit in git
2026-08-16 10:10:14 +08:00
Bo-Yi Wu 8223320a4c chore(deps): add dependabot config for actions and docker
- Enable weekly update checks for GitHub Actions and the Dockerfile base image
2026-08-16 10:10:14 +08:00
Bo-Yi Wu ea12760348 ci(docker): publish prebuilt image to ghcr
- Build and push multi-arch (amd64/arm64) image on master pushes and version tags
- Generate latest and semver tags via docker metadata action
- Build without pushing on pull requests for validation
2026-08-16 10:10:14 +08:00
Bo-Yi Wu d678193671 chore(docker): bump drone-telegram base image to 1.5.0
- Upgrade the base image from 1.4.2 to 1.5.0
2026-08-16 10:00:47 +08:00
Bo-Yi WuandClaude Fable 5 d600df785a fix(docker): bump drone-telegram base image to 1.4.2
The 1.4.0 image binary was built with Go 1.22.6, affected by stdlib
CVE-2025-68121 (crypto/tls certificate validation bypass, CVSS 10.0).
1.4.2 is built with Go 1.25.13 and patched golang.org/x/crypto v0.55.0.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-14 22:27:40 +08:00
Bo-Yi WuandClaude Fable 5 78e5f2ccac ci(trivy): add scheduled security scan workflow
- Scan the repository filesystem for CRITICAL and HIGH vulnerabilities and upload SARIF results to the GitHub Security tab
- Build the Docker image and scan it, gating the build on CRITICAL findings only
- Run quarterly on a schedule, on manual dispatch, and on pushes and pull requests to the default branch

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-08-09 12:50:42 +08:00
Bo-Yi Wu 78c9ef35ff chore(ci): bump actions/setup-go from v6 to v7
- Update actions/setup-go from v6 to v7 in workflow files
2026-07-18 09:58:01 +08:00
Bo-Yi Wu 4cd2253b24 chore(ci): update GitHub Actions dependencies to latest versions
- Bump actions/checkout from v6 to v7
2026-06-23 20:07:08 +08:00
Bo-Yi WuandClaude Opus 4.6 847a2d3240 chore(ci): update GitHub Actions dependencies to latest versions
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-28 12:06:40 +08:00
appleboy 1b2bf60368 docs: localize README to Traditional Chinese
- Fix a typo in the README.zh-tw.md file
- Translate English text to Traditional Chinese in the README.zh-tw.md file

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-11-20 22:33:56 +08:00
appleboy 95f03551fd docs: translate documentation sections to Chinese
- Translate input variables section to Chinese
- Translate example section to Chinese
- Translate specific message sending instructions to Chinese
- Translate Telegram Bot API getting started instructions to Chinese
- Translate template variable section to Chinese

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-11-20 22:28:31 +08:00
appleboy 85afa0fd9a docs: enhance internationalization and testing framework
- Add links to Traditional Chinese and Simplified Chinese README files

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-11-20 22:27:23 +08:00
appleboy 84183da9cf docs: add Chinese READMEs for GitHub Actions notifications
- Add a Chinese (Simplified) README for GitHub Actions Telegram notifications
- Add a Chinese (Traditional) README for GitHub Actions Telegram notifications

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-11-20 22:27:02 +08:00
appleboy 5010c012e9 docs: improve documentation consistency and clarity
- Fix minor grammatical errors and improve clarity in the README.md
- Capitalize the first letter of list items in the options table for consistency

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-11-20 22:26:53 +08:00
appleboy 94584eda62 docs: improve documentation formatting and API usage
- Convert the list of optional parameters to a table format for better readability
- Fix the table formatting in the "See the result" section

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-11-20 22:08:01 +08:00
appleboy 221e6b6849 build: switch to GitHub Container Registry for Docker images
- Update Dockerfile to use the GitHub Container Registry for the drone-telegram image

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-11-16 01:40:01 +08:00
appleboy 9177cafddc ci: implement automated release workflow with GoReleaser
- Add a GitHub Actions workflow for GoReleaser
- Configure GoReleaser to skip builds by default
- Set up changelog groups with specific regex patterns for categorizing changes

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-10-09 23:58:44 +08:00
appleboy 65a1d3c2f9 style: refactor CI configuration for consistency and clarity
- Update quotes from single to double in the CI configuration file
- Remove an empty line in the jobs section
- Adjust formatting for the photo and document paths

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-09-06 19:19:14 +08:00
appleboy a77dd3e42f chore: upgrade base image to version 1.4.0
- Update the base image version from 1.3.9 to 1.4.0

Signed-off-by: appleboy <appleboy.tw@gmail.com>
2024-09-06 19:12:31 +08:00
Bo-Yi Wu 2efd23283a chore: bump drone-telegram to 1.3.9 2021-04-03 07:29:57 +08:00
Bo-Yi Wu a5d86cddbc chore: sending a message without notification
https://github.com/appleboy/telegram-action/issues/26
2021-04-03 06:44:51 +08:00
Bo-Yi WuandGitHub beaf02496b Update Dockerfile 2021-02-13 11:08:56 +08:00
Bo-Yi Wu 6ecbcc43b0 chore(github): add commit message example 2020-10-03 16:40:19 +08:00
Bo-Yi Wu dc870f34e9 chore: upgrade to 1.3.8 docker image 2020-10-03 16:33:44 +08:00
Bo-Yi Wu 6cdf58fd81 chore: use current action in testing 2020-10-03 16:23:46 +08:00
Bo-Yi Wu 1ecd8d50e4 refactor: disable_web_page_preview 2020-10-03 16:10:54 +08:00
Bo-Yi WuandGitHub 9e5e0be372 chore: support disable web page preview (#24) 2020-10-03 08:42:51 +08:00
Bo-Yi WuandGitHub 0e7bbc5ef7 Merge pull request #17 from crazyuploader/patch-1
Update README.md
2020-07-19 01:17:37 +08:00
Bo-Yi Wu 12a87fd2ec chore: upgrade drone-telegram to 1.3.6 2020-06-20 17:01:54 +08:00
Bo-Yi Wu ec18563cbb chore: update 2020-06-20 13:54:40 +08:00
Bo-Yi Wu d23549b68a add single testing
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-06-19 16:41:32 +08:00
Bo-Yi Wu 18c4142dfa add single testing
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-06-19 16:37:02 +08:00
Bo-Yi Wu c05923bdec add single testing
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-06-19 16:35:58 +08:00
Bo-Yi Wu 50dd6d184f add single testing
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-06-19 16:29:56 +08:00
Bo-Yi WuandGitHub 68616a84f7 Merge pull request #12 from appleboy/appleboy-patch-1 2020-05-22 09:17:00 +08:00
Bo-Yi WuandGitHub f501e27814 Add MarkdownV2 Link 2020-05-22 09:16:33 +08:00
Bo-Yi Wu 867844f8a4 docs: add message field.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-24 16:09:09 +08:00
Bo-Yi Wu abd0142ad9 add drone variable example
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-24 16:04:04 +08:00
Bo-Yi Wu 363157132e add sha example
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-24 16:03:22 +08:00
Bo-Yi Wu d0bf9f621b add github.ref example
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2020-04-24 16:01:05 +08:00
Bo-Yi Wu 1ac4b1171b docs: add socks5 and http proxy format 2019-12-08 07:22:20 +08:00
Bo-Yi Wu 845086369b chore: upgrade drone-telegram to 1.3.5 2019-12-07 14:55:21 +08:00
Bo-Yi Wu 268d7f7856 docs: update secrets 2019-12-07 14:51:50 +08:00
Bo-Yi Wu 7ba2054f08 docs: add socks5 example 2019-12-07 14:45:02 +08:00
Bo-Yi Wu d04c916137 update format
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-12-07 14:37:56 +08:00
Bo-Yi Wu df78a5d925 update format
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-12-07 12:56:49 +08:00
Bo-Yi Wu 94223af513 chore: Send message using custom socks5 proxy url 2019-12-07 12:51:57 +08:00
Bo-Yi Wu deae8157b2 docs: update header 2019-11-16 17:52:50 +08:00
Bo-Yi Wu 74d1289afd docs: update 2019-11-02 15:20:17 +08:00
Bo-Yi Wu 65a4c9fc42 chore: add test in file template 2019-11-02 14:52:07 +08:00
Bo-Yi Wu ee6f548104 chore: update format 2019-11-02 14:50:12 +08:00
Bo-Yi Wu 62444e6582 chore: add message_file 2019-11-02 14:33:19 +08:00
Bo-Yi Wu 406cbeb82a chore: upgrade to 1.3.4 2019-11-02 14:24:25 +08:00
Bo-Yi Wu a5e94a4245 docs: update status link 2019-10-13 01:30:14 +08:00
Bo-Yi Wu 40cbdc99a4 chore: upgrade drone-telegram 2019-10-13 00:12:05 +08:00
Bo-Yi WuandGitHub ac4245365c Update README.md 2019-09-30 11:37:12 +08:00
Bo-Yi Wu 06cc7371ce docs: update readme 2019-09-29 14:18:21 +08:00
Bo-Yi Wu b535a89bc8 docs: add checkout command 2019-09-28 11:19:32 +08:00
Bo-Yi Wu 696643cdf6 chore: checkout source code. 2019-09-28 11:17:35 +08:00
Bo-Yi Wu bd65e6f3ea docs: update badge url 2019-09-25 22:42:29 +08:00
Bo-Yi Wu 040616c1f8 chore: add drone telegram version 2019-09-25 22:39:32 +08:00
Bo-Yi Wu a10dfd2766 docs: add custom message 2019-09-25 22:12:11 +08:00
Bo-Yi Wu c83985c531 add custom message
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-25 22:09:04 +08:00
Bo-Yi Wu 2b5a500551 docs: add photo and location message 2019-09-25 22:04:09 +08:00
Bo-Yi Wu fdf386abfa docs: update location message 2019-09-25 22:02:38 +08:00
Bo-Yi Wu 4e83d473fc update
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-25 22:01:27 +08:00
Bo-Yi Wu a14c43a7be chore: add location message 2019-09-25 21:28:25 +08:00
Bo-Yi Wu 82f08879c5 docs: add location message 2019-09-25 21:22:36 +08:00
Bo-Yi Wu f622f39b03 chore: add location message 2019-09-25 21:21:38 +08:00
Bo-Yi Wu 89073d4db2 update
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-25 19:28:57 +08:00
Bo-Yi Wu 7952082356 update
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-25 19:27:38 +08:00
Bo-Yi Wu 4dbe08d34a update
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-25 19:25:53 +08:00
Bo-Yi Wu ffc52f02f2 update
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-25 19:23:28 +08:00
Bo-Yi Wu 8920bdffe3 update
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-25 19:20:36 +08:00
Bo-Yi Wu d1f5f0e4e9 add workspace
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-25 19:15:08 +08:00
Bo-Yi Wu cba7edda6f update
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-25 19:13:06 +08:00
Bo-Yi Wu 868c74871e add workdir
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-25 19:08:49 +08:00
Bo-Yi Wu 3fb31034d1 initial ci
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-25 18:59:58 +08:00
Bo-Yi Wu d753c01b96 update readme
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-25 18:58:09 +08:00
Bo-Yi Wu 6399a5ed49 upgrade github actions
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-25 18:53:47 +08:00
Bo-Yi Wu 0e92df9a00 add action yaml file.
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
2019-09-25 18:41:37 +08:00
Bo-Yi WuandGitHub 2df95b048f fixed Template typo (#3)
fixed Template typo
2019-04-26 09:46:49 +08:00
Bo-Yi Wu 827b11092f docs: update doc 2019-04-05 07:20:52 +08:00