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

paskal / stash / 20022117045 / 1
84%
master: 84%

Build:
Build:
LAST BUILD BRANCH: ci/add-permissions-blocks
DEFAULT BRANCH: master
Ran 08 Dec 2025 08:52AM UTC
Files 17
Run time 0s
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

08 Dec 2025 08:50AM UTC coverage: 83.745% (+0.06%) from 83.682%
20022117045.1

push

github

paskal
ci: add explicit permissions blocks for security hardening

Add minimal required permissions to all workflows following GitHub's
security best practice of least privilege principle.

Changes:
- ci.yml: Add workflow-level `permissions: contents: read`
- docker.yml: Add job-level permissions for build and merge jobs
  - contents: read (for checkout)
  - packages: write (for pushing to ghcr.io)
- release.yml: Add workflow-level `permissions: contents: write`
  (required for goreleaser to create releases and upload assets)

This explicitly restricts the GITHUB_TOKEN to only the permissions
needed, rather than relying on repository defaults which may be
overly permissive.

Reference: https://docs.github.com/en/actions/security-guides/automatic-token-authentication#permissions-for-the-github_token

2679 of 3199 relevant lines covered (83.74%)

83.13 hits per line

Source Files on job 20022117045.1
  • Tree
  • List 17
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 20022117045
  • 27a25463 on github
  • Prev Job for on ci/add-permissions-blocks (#20022062091.1)
  • Next Job for on ci/add-permissions-blocks (#20022473109.1)
  • Delete
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