fix: fixed the token-permission issue

Signed-off-by: harshitasao <harshitasao@gmail.com>
This commit is contained in:
harshitasao
2024-08-23 02:47:22 +05:30
parent f54d3a5385
commit a69304b07b
+6
View File
@@ -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'