summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul Spooren2026-01-15 02:19:16 +0000
committerChristian Marangi2026-07-20 10:50:39 +0000
commitd91a9ac1efc06b58c92b0e20951288a3de214416 (patch)
treeb23c966d7d40f7b56926c8e70d56307c94658dc8
parent924f06e76cd73e24d39691a4de621bdcae80a756 (diff)
ci: rework and move build-on-comment action
Run this only when a PR is created, so either author or anyone who can edit the PR message (all maintainers) can trigger such build. Instead of maintaining it in the main repository, move it to the external repository to bloat this repository less with further CI commits. Signed-off-by: Paul Spooren <mail@aparcar.org> (cherry picked from commit 8cff0d8ca0d42aec4cb47313cd0c3dd99e06bbec) Link: https://github.com/openwrt/openwrt/pull/24319 Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
-rw-r--r--.github/workflows/build-pr-profile.yml12
1 files changed, 12 insertions, 0 deletions
diff --git a/.github/workflows/build-pr-profile.yml b/.github/workflows/build-pr-profile.yml
new file mode 100644
index 0000000000..3be461c354
--- /dev/null
+++ b/.github/workflows/build-pr-profile.yml
@@ -0,0 +1,12 @@
+name: Build PR Profile
+
+on:
+ pull_request:
+ types: [opened, edited, synchronize]
+
+permissions:
+ pull-requests: write
+
+jobs:
+ build-pr-profile:
+ uses: openwrt/actions-shared-workflows/.github/workflows/build-pr-profile.yml@main