• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

umputun / tg-spam / 32313458450
84%

Build:
DEFAULT BRANCH: master
Ran 19 Aug 2026 11:34PM UTC
Jobs 1
Files 42
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

19 Aug 2026 11:29PM UTC coverage: 83.787%. Remained the same
32313458450

push

github

web-flow
ci: restrict docker publishing to trusted pushes and build the example against the checkout (#438)

* ci: bump checkout, setup-go and cache to current majors

* ci: restrict docker publishing to pushes from this repository

The docker workflow reacts to workflow_run from build-app, which also runs on
pull_request. workflow_run jobs get repository secrets and a privileged token
regardless of where the originating run came from, so a fork PR opened from a
branch named master or v1 satisfied the head_branch test and reached the
registry logins with fork-controlled code checked out. Guard on
workflow_run.event == 'push' and head_repository.full_name == github.repository.

Also add the missing top-level permissions: {contents: read} to the docker and
updater workflows.

* ci: build the simplechat example against the checkout

The example is a separate module pinning github.com/umputun/tg-spam v1.18.0, so
CI built it against that release rather than HEAD and a library change breaking
the example still passed. Create a CI-only go workspace before testing it and
assert the module resolves to the checkout. The workspace is not committed; a
relative replace directive would make the example unusable once copied out of
the repository.

8951 of 10683 relevant lines covered (83.79%)

252.21 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
76.77
-2.02% lib/tgspam/plugin/watcher.go
Jobs
ID Job ID Ran Files Coverage
1 32313458450.1 19 Aug 2026 11:34PM UTC 42
83.79
GitHub Action Run
Source Files on build 32313458450
  • Tree
  • List 42
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 5848a8d0 on github
  • Prev Build on master (#32215423678)
  • Next Build on master (#32313469587)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc