[openwrt/openwrt] ci: add missing permission to add comments
LEDE Commits
lede-commits at lists.infradead.org
Tue Jun 24 07:30:50 PDT 2025
aparcar pushed a commit to openwrt/openwrt.git, branch main:
https://git.openwrt.org/d3324aa20841bc4bf93ed6ddd9890bc2a923f042
commit d3324aa20841bc4bf93ed6ddd9890bc2a923f042
Author: Paul Spooren <mail at aparcar.org>
AuthorDate: Tue Jun 24 16:29:05 2025 +0200
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 at aparcar.org>
---
.github/workflows/build-on-comment.yml | 3 +++
1 file changed, 3 insertions(+)
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
More information about the lede-commits
mailing list