From 34f23a3ff0dddc119cc6014ef7dcc3984325d7df Mon Sep 17 00:00:00 2001 From: Josua Frank Date: Mon, 22 Jul 2024 09:28:58 +0200 Subject: [PATCH] Fixes permission issues This change fixes permission issues with PRs from external repositories (forks). By adding the permission `pull-requests: write` and `issues: write` we allow comments to be posted to the PR by this bot. A PR is internally an special issue, that is why we also need the `issue` permission, see [here](https://docs.github.com/en/rest/issues/comments?apiVersion=2022-11-28#create-an-issue-comment). --- .github/workflows/lint-apps.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/lint-apps.yml b/.github/workflows/lint-apps.yml index 95c14d5971..ecbc531c1a 100644 --- a/.github/workflows/lint-apps.yml +++ b/.github/workflows/lint-apps.yml @@ -10,5 +10,8 @@ jobs: lint-apps: name: Lint apps runs-on: ubuntu-latest + permissions: + issues: write + pull-requests: write steps: - uses: sharknoon/umbrel-app-linter-action@v1.1.8