typelevel / typelevel/sbt-typelevel

Add read permissions for github tokens

Open
#350 1 comment 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement github-actions
Dominant language
Scala
Stars
185
Forks
62
PR merge metrics
No merged PRs in 30d

Description

Lots of people are adding this their Github CI scripts:

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

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the GitHub Actions token-permissions guidance linked in the issue, then locate the repository's CI workflow definitions. Confirm which workflows need an explicit contents read permission and verify that the resulting workflows still run successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
github-actions
Domain
ci-cd
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.