Skip to content

fix: scope down workflow token permissions (scorecard: Token-Permissions) #151

Open

Description

@kitplummer

Scorecard Check: Token-Permissions (0/10)

Several workflows have excessive token permissions:

  • docker-publish.yml — no top-level permission defined (defaults to read-write)
  • release.yml — top-level contents: write is too broad

Fix: Add explicit permissions: read-all at top level for each workflow, then grant write permissions only at the job level where needed.

From OSSF Scorecard analysis

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    security

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions