Skip to content

add github_token permissions needed for github actions #952

Open
@miparnisari

Description

https://semgrep.dev/docs/semgrep-ci/sample-ci-configs/#github-actions

can you please change the samples to include the permissions that the workflows need?

# Name of this GitHub Actions workflow.
name: Semgrep

on:
  ...

permissions:
   contents: read

jobs:
  semgrep:
      ...

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions