From f41def19d9cb81037465f48cf3e307d6babda413 Mon Sep 17 00:00:00 2001 From: Vincent Vatelot Date: Fri, 8 Dec 2023 15:33:37 +0100 Subject: [PATCH] ci(action): fix permissions --- .github/workflows/pr_validation.yml | 3 ++- .github/workflows/quality_check.yml | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pr_validation.yml b/.github/workflows/pr_validation.yml index 96eb56f..f5534c7 100644 --- a/.github/workflows/pr_validation.yml +++ b/.github/workflows/pr_validation.yml @@ -6,7 +6,8 @@ on: permissions: pull-requests: read - + contents: write + jobs: pr-lint: name: Validate PR title diff --git a/.github/workflows/quality_check.yml b/.github/workflows/quality_check.yml index e4a870e..0c698a3 100644 --- a/.github/workflows/quality_check.yml +++ b/.github/workflows/quality_check.yml @@ -4,6 +4,9 @@ on: pull_request: types: [opened, edited, synchronize, reopened] +permissions: + contents: write + jobs: validate-polylith: runs-on: ubuntu-latest