From c3f07c5d01d09600951377ec20eb461fd65e7a3f Mon Sep 17 00:00:00 2001 From: mkolasinski-splunk <105011638+mkolasinski-splunk@users.noreply.github.com> Date: Thu, 27 Jul 2023 17:32:42 +0200 Subject: [PATCH] fix: revert write permissions for PR Adding write permissions for PR is resulting in error when workflow is being called from a workflow which doesn't grant needed permissions. This change will be re-included once new repository template will be released --- .github/workflows/reusable-agreements.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/reusable-agreements.yaml b/.github/workflows/reusable-agreements.yaml index aed56b1..3f445eb 100644 --- a/.github/workflows/reusable-agreements.yaml +++ b/.github/workflows/reusable-agreements.yaml @@ -12,7 +12,7 @@ on: permissions: actions: read contents: read - pull-requests: write + pull-requests: read statuses: read jobs: ContributorLicenseAgreement: