From 4c01dd272670ebef8da1a05394ec28c3a9642d16 Mon Sep 17 00:00:00 2001 From: Paul Spooren Date: Thu, 15 Jan 2026 09:19:16 +0700 Subject: [PATCH] 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 (cherry picked from commit 8cff0d8ca0d42aec4cb47313cd0c3dd99e06bbec) Link: https://github.com/openwrt/openwrt/pull/24319 Signed-off-by: Christian Marangi (cherry picked from commit d91a9ac1efc06b58c92b0e20951288a3de214416) --- .github/workflows/build-pr-profile.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/build-pr-profile.yml 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