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

Tatsh / dbeaver-creds / 25126173982
100%

Build:
DEFAULT BRANCH: master
Ran 29 Apr 2026 06:18PM UTC
Jobs 5
Files 6
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

29 Apr 2026 06:17PM UTC coverage: 100.0%. Remained the same
25126173982

push

github

Tatsh
workflows/publish-winget: skip update-winget when WINGET_TOKEN is empty

If the `WINGET_TOKEN` secret isn't set on the repository, the
`update-winget` job would still run and hand an empty string to
`vedantmgoyal9/winget-releaser`, which then fails with an opaque
GitHub-API auth error. Surface the missing secret upfront and
skip the job cleanly instead.

GitHub Actions doesn't allow `secrets.X` in a job-level `if`
expression, so the standard workaround is to expose an output
from a previous job that has read the secret into an env var.

The `check` job gains:

- A new `Check WINGET_TOKEN is set` step (id `check_secret`) that
  reads `secrets.WINGET_TOKEN` into a step env var, writes
  `has_winget_token=true|false` to `$GITHUB_OUTPUT`, and emits a
  GitHub-Actions `::warning` if the secret is empty (visible in
  the run summary so the missing-secret state isn't silent).
- A job-level `outputs.has_winget_token` exposing that step output.

The `update-winget` job gains
`if: needs.check.outputs.has_winget_token == 'true'`, so a missing
or empty secret causes GitHub to mark the job as skipped (grey
icon) rather than failed. The token is still read by
winget-releaser via `secrets.WINGET_TOKEN`; the gate just prevents
the job from running with an empty value.

Signed-off-by: Andrew Udvare <audvare@gmail.com>

228 of 228 relevant lines covered (100.0%)

12.34 hits per line

Jobs
ID Job ID Ran Files Coverage
1 native-Windows-MINGW64 - 25126173982.1 29 Apr 2026 06:20PM UTC 4
99.32
GitHub Action Run
2 native-Linux - 25126173982.2 29 Apr 2026 06:18PM UTC 2
100.0
GitHub Action Run
3 pwsh - 25126173982.3 29 Apr 2026 06:18PM UTC 1
100.0
GitHub Action Run
4 native-Windows-CLANGARM64 - 25126173982.4 29 Apr 2026 06:24PM UTC 4
99.39
GitHub Action Run
5 native-macOS - 25126173982.5 29 Apr 2026 06:18PM UTC 2
96.7
GitHub Action Run
Source Files on build 25126173982
  • Tree
  • List 6
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #25126173982
  • a9542dfb on github
  • Prev Build on master (#25125710781)
  • Next Build on master (#25136181445)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc