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

contentful-userland / cf-content-types-generator / 28426720417
91%

Build:
DEFAULT BRANCH: master
Ran 30 Jun 2026 07:08AM UTC
Jobs 1
Files 31
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

30 Jun 2026 07:07AM UTC coverage: 90.741%. Remained the same
28426720417

push

github

web-flow
ci(github-actions): add explicit permissions to CI workflow [ACT-2435] [ACT-2436] [ACT-2441] (#474)

## Summary

Adds explicit \`permissions\` blocks to \`.github/workflows/test.yml\`
to restrict the \`GITHUB_TOKEN\` to the minimum required scopes across
all three CI jobs. A workflow-level \`contents: read\` default covers
the \`build\` and \`lint\` jobs; the \`test\` job also gets \`checks:
write\` so the Coveralls action can post results.

## Tickets

- ACT-2435 — \`lint\` job missing permissions (lines 32–59)
- ACT-2436 — \`build\` job missing permissions (lines 7–31)
- ACT-2441 — \`test\` job missing permissions (lines 60–90)

## Why

Without explicit permissions the workflow inherits the repository
default, which may be read-write. Least-privilege permissions prevent
accidental or malicious use of a broad token and follow Contentful
security requirements for public repositories.

## Risk and Rollout

Low risk — CI configuration change only. The \`GITHUB_TOKEN\` now has
narrower scope. If any job requires additional permissions in the
future, they can be added at the job level.

> Note: This PR was created with the
[contentful-github-create-pull-request](https://github.com/contentful/agents-kit/tree/main/libs/contentful-github-create-pull-request)
skill, powered by [Agents Kit].
> Learn more: [Agents Kit
Documentation](https://contentful.roadie.so/docs/default/component/agents-kit).

180 of 219 branches covered (82.19%)

Branch coverage included in aggregate %.

457 of 483 relevant lines covered (94.62%)

26.37 hits per line

Jobs
ID Job ID Ran Files Coverage
1 28426720417.1 30 Jun 2026 07:08AM UTC 62
92.42
GitHub Action Run
Source Files on build 28426720417
  • Tree
  • List 31
  • Changed 16
  • Source Changed 0
  • Coverage Changed 16
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #28426720417
  • 652275e2 on github
  • Prev Build on master (#23861784211)
  • 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