From 679d005188205a596e1d0a73f13ce9681e71465c Mon Sep 17 00:00:00 2001 From: Lukasz Dziedziak Date: Thu, 9 Jan 2025 15:56:30 +0100 Subject: [PATCH] chore(action): move permissions to specific job Signed-off-by: Lukasz Dziedziak --- .github/workflows/pr-modification.yaml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/pr-modification.yaml b/.github/workflows/pr-modification.yaml index 6a3e0a1a1bb2..c3d27d587a57 100644 --- a/.github/workflows/pr-modification.yaml +++ b/.github/workflows/pr-modification.yaml @@ -8,11 +8,10 @@ on: required: false default: '10 minutes' -permissions: - contents: read jobs: find-prs: permissions: + contents: read pull-requests: read env: LOOK_BACK: ${{ github.event.inputs.lookback || '10 minutes' }}