From 60fdce01a66cbee5da6f018fa386a89a228a8c0f Mon Sep 17 00:00:00 2001 From: Ramya Parimi Date: Tue, 7 Sep 2021 10:28:06 -0500 Subject: [PATCH] Update .github/workflows/close-on-invalid-label.yaml Co-authored-by: James M. Greene --- .github/workflows/close-on-invalid-label.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/close-on-invalid-label.yaml b/.github/workflows/close-on-invalid-label.yaml index 772bcb0991..9d79f5d3bb 100644 --- a/.github/workflows/close-on-invalid-label.yaml +++ b/.github/workflows/close-on-invalid-label.yaml @@ -6,6 +6,10 @@ on: pull_request: types: [labeled] +permissions: + issues: write + pull-requests: write + jobs: close-on-adding-invalid-label: if: github.repository == 'github/docs' && github.event.label.name == 'invalid'