From 15544016cc8a3ba29dae97020c76026ed2b0ae65 Mon Sep 17 00:00:00 2001 From: Artem Rys Date: Tue, 18 Jul 2023 16:28:24 +0200 Subject: [PATCH] ci: update agreement's job permissions --- .github/workflows/agreements.yaml | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/agreements.yaml b/.github/workflows/agreements.yaml index 4e10b4d0..8a795782 100644 --- a/.github/workflows/agreements.yaml +++ b/.github/workflows/agreements.yaml @@ -7,7 +7,12 @@ on: jobs: call-workflow-agreements: - uses: splunk/addonfactory-github-workflows/.github/workflows/reusable-agreements.yaml@v1.3 + uses: splunk/addonfactory-github-workflows/.github/workflows/reusable-agreements.yaml@v1 + permissions: + actions: read + contents: read + pull-requests: write + statuses: read secrets: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} PERSONAL_ACCESS_TOKEN: ${{ secrets.PAT_CLATOOL }}