summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Spooren2025-06-24 14:29:05 +0000
committerPaul Spooren2025-06-24 14:29:05 +0000
commitd3324aa20841bc4bf93ed6ddd9890bc2a923f042 (patch)
tree9a5cec7c7beddaaa9608de60b0070db409275905
parent8186e5e5a46eccf0e83776d0c1c2ba1ea78f2d83 (diff)
downloadopenwrt-d3324aa20841bc4bf93ed6ddd9890bc2a923f042.tar.gz
ci: add missing permission to add comments
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>
-rw-r--r--.github/workflows/build-on-comment.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.github/workflows/build-on-comment.yml b/.github/workflows/build-on-comment.yml
index ffb20d1f23..cbce8afe17 100644
--- a/.github/workflows/build-on-comment.yml
+++ b/.github/workflows/build-on-comment.yml
@@ -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