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

nocarryr / python-dispatch / 40518413717
98%

Build:
DEFAULT BRANCH: master
Ran 27 Oct 2026 02:09PM UTC
Jobs 4
Files 9
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

27 Oct 2026 02:09PM UTC coverage: 97.066% (-0.8%) from 97.887%
40518413717

push

github

web-flow
Set least-privilege permissions for GitHub Actions (#129)

Both workflows inherited token permissions from repository defaults, and Coveralls installation shared a step with token-bearing completion. This change establishes explicit permission boundaries and narrows token exposure.

- **Permissions:** Set workflow defaults to no permissions. Grant `contents: read` only to checkout and Coveralls jobs; keep `id-token: write` limited to PyPI deployment.
- **Credentials:** Disable persisted checkout credentials. Install Coveralls separately so only the completion command receives `GITHUB_TOKEN`.

```yaml
permissions: {}

jobs:
  test:
    permissions:
      contents: read
  deploy:
    permissions:
      id-token: write
```

<!-- START COPILOT CODING AGENT SUFFIX -->

- Fixes #128

<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
<!-- coderabbit-ai-generated:v1 -->

## Summary by CodeRabbit

* **Chores**
  * Updated CI and distribution workflows to use more limited permissions and avoid retaining checkout credentials.
  * Kept the required publishing authorization in place and separated Coveralls installation from its completion step.
  * CI and distribution jobs now have read-only access to repository contents, while publishing retains its required identity authorization.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

827 of 852 relevant lines covered (97.07%)

3.88 hits per line

Coverage Regressions

Lines Coverage ∆ File
7
94.49
-5.51% pydispatch/aioutils.py
Jobs
ID Job ID Ran Files Coverage
1 run-3.10 - 40518413717.1 27 Oct 2026 02:10PM UTC 9
97.07
GitHub Action Run
2 run-3.13 - 40518413717.2 27 Oct 2026 02:10PM UTC 9
97.07
GitHub Action Run
3 run-3.12 - 40518413717.3 27 Oct 2026 02:10PM UTC 9
97.07
GitHub Action Run
4 run-3.8 - 40518413717.4 27 Oct 2026 02:10PM UTC 9
97.07
GitHub Action Run
Source Files on build 40518413717
  • Tree
  • List 9
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 3502c966 on github
  • Prev Build on master (#40514667820)
  • Next Build on master (#40519945410)
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