From dc6e3e9a63ca958f309a87450adc77db18dedb39 Mon Sep 17 00:00:00 2001 From: Nashwan Azhari Date: Fri, 28 Jul 2023 16:07:06 +0300 Subject: [PATCH] Add permissions to autolabelling action token. Signed-off-by: Nashwan Azhari --- .github/workflows/autolabeler.yml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/.github/workflows/autolabeler.yml b/.github/workflows/autolabeler.yml index b1c090b..a66ad3d 100644 --- a/.github/workflows/autolabeler.yml +++ b/.github/workflows/autolabeler.yml @@ -2,12 +2,18 @@ name: Auto-labelling. +permissions: + contents: read + issues: write + pull-requests: write + # NOTE: required to pull image if fork is private. + packages: read + on: workflow_dispatch: push: branches: [main] - jobs: autolabel: runs-on: ubuntu-latest