From c3ca4daabd41d47a8bcc045495bd17485a4fcaca Mon Sep 17 00:00:00 2001 From: Jesus Osuna <87494173+Jesus-Osuna-M@users.noreply.github.com> Date: Fri, 25 Sep 2026 16:29:02 -0300 Subject: [PATCH] [RUN-4568] Add prepare-community-pr reusable workflow caller MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Copied verbatim from rundeck-plugins/git-plugin. Calls the centralized workflow in rundeck/rundeck, which opens an integration branch and PR so that full CI — including jobs that need repo secrets — runs for approved community PRs coming from forks. Co-Authored-By: Claude Opus 5 --- .github/workflows/prepare-community-pr.yml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .github/workflows/prepare-community-pr.yml diff --git a/.github/workflows/prepare-community-pr.yml b/.github/workflows/prepare-community-pr.yml new file mode 100644 index 0000000..4a1db9e --- /dev/null +++ b/.github/workflows/prepare-community-pr.yml @@ -0,0 +1,15 @@ +# Calls the centralized workflow from rundeck/rundeck. +# To add this to another repo, copy this file — no changes needed. +name: Prepare community PR + +on: + pull_request_target: + types: [labeled] + +jobs: + prepare: + if: github.event.label.name == 'prepare-community-pr' + uses: rundeck/rundeck/.github/workflows/prepare-community-pr.yml@main + permissions: + contents: write + pull-requests: write