From 9ac12780a2ba3ea157f2abc7f2492db52576e8ab Mon Sep 17 00:00:00 2001 From: Michael Heap Date: Sat, 1 Apr 2023 12:50:20 +0100 Subject: [PATCH] Add issues/pull-requests permissions to README --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 3db8ee5..9e0cb12 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,9 @@ on: jobs: label: runs-on: ubuntu-latest + permissions: + issues: read + pull-requests: read steps: - uses: mheap/github-action-required-labels@v3 with: @@ -122,6 +125,9 @@ on: jobs: label: runs-on: ubuntu-latest + permissions: + issues: read + pull-requests: read outputs: status: ${{ steps.check-labels.outputs.status }} steps: