From 4645e3a627dce26e411e9da73bc9c1966620d00c Mon Sep 17 00:00:00 2001 From: Kostas Apostolopoulos Date: Wed, 17 Jan 2024 16:30:06 +0000 Subject: [PATCH] Add permissions to gitleaks github action --- .github/workflows/gitleaks.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/gitleaks.yml b/.github/workflows/gitleaks.yml index 8e0416b..51a7d93 100644 --- a/.github/workflows/gitleaks.yml +++ b/.github/workflows/gitleaks.yml @@ -4,6 +4,11 @@ on: push: branches: - 'main' + +permissions: + contents: read # This is required for actions/checkout + pull-requests: write # This is required for pull request comments + jobs: scan: name: gitleaks