]> git.ipfire.org Git - thirdparty/openwrt.git/commitdiff
ci: add missing permission to add comments
authorPaul Spooren <mail@aparcar.org>
Tue, 24 Jun 2025 14:29:05 +0000 (16:29 +0200)
committerPaul Spooren <mail@aparcar.org>
Tue, 24 Jun 2025 14:29:05 +0000 (16:29 +0200)
While this worked during testing, the repository of a organization requires
extra permissions. Add write access to pull requests, like we do over at
packages.git.

Signed-off-by: Paul Spooren <mail@aparcar.org>
.github/workflows/build-on-comment.yml

index ffb20d1f2317d0711bf406d21f6cfc6a830de37e..cbce8afe1795cf67dfff74541929d58606a2a501 100644 (file)
@@ -4,6 +4,9 @@ on:
   issue_comment:
     types: [created, edited]
 
+permissions:
+  pull-requests: write
+
 concurrency:
   group: build-on-comment-${{ github.event.issue.number || github.event.pull_request.number }}
   cancel-in-progress: true