From a69304b07b066cce8f7527d3935de5bb66fbbd75 Mon Sep 17 00:00:00 2001 From: harshitasao Date: Fri, 23 Aug 2024 02:47:22 +0530 Subject: [PATCH] fix: fixed the token-permission issue Signed-off-by: harshitasao --- .github/workflows/issue.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/issue.yaml b/.github/workflows/issue.yaml index 26e394fd87..0729912c9d 100644 --- a/.github/workflows/issue.yaml +++ b/.github/workflows/issue.yaml @@ -3,8 +3,14 @@ on: issues: types: [opened] +permissions: + contents: read + jobs: sync: + permissions: + contents: read # for github/issue-labeler to get repo contents + issues: write # for github/issue-labeler to create or remove labels runs-on: ubuntu-latest if: github.repository == 'backstage/backstage'