From 03299d7843d0020d309deea17cd231569467ca1e Mon Sep 17 00:00:00 2001 From: Igor Pecovnik Date: Tue, 30 Jan 2024 12:36:04 +0100 Subject: [PATCH] Labeler workflow fails due to insufficient permissions https://github.com/crazy-max/ghaction-github-labeler/issues/184 --- .github/workflows/labels-from-yml.yml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.github/workflows/labels-from-yml.yml b/.github/workflows/labels-from-yml.yml index b8412642e7..859c45f17f 100644 --- a/.github/workflows/labels-from-yml.yml +++ b/.github/workflows/labels-from-yml.yml @@ -12,6 +12,10 @@ on: jobs: labeler: + permissions: + contents: read # for actions/labeler to determine modified files + pull-requests: write # for actions/labeler to add labels to PRs + issues: write # for actions/labeler to add labels to issues if: ${{ github.repository_owner == 'Armbian' }} runs-on: ubuntu-latest steps: