Skip to content

[RUN-4568] Add prepare-community-pr reusable workflow caller - #56

Merged
Jesus-Osuna-M merged 1 commit into
mainfrom
RUN-4568-prepare-community-pr
Sep 25, 2026
Merged

Jesus-Osuna-M merged 1 commit into
mainfrom
RUN-4568-prepare-community-pr

Conversation

@Jesus-Osuna-M

Copy link
Copy Markdown
Contributor

Summary

Adds .github/workflows/prepare-community-pr.yml, a thin caller for the centralized workflow in rundeck/rundeck. Copied verbatim from rundeck-plugins/git-plugin — the file's own comment states it is meant to be copied with no changes.

Why

Community PRs come from forks, so workflows that need repo secrets never run on them — such a PR can sit with no checks reported at all, leaving maintainers to compile and test it by hand.

Once a maintainer approves the PR and applies the prepare-community-pr label, the centralized workflow opens an integration branch plus PR so full CI runs against the contribution.

Rollout

Part of applying this across the rundeck-plugins org. Already present in git-plugin, nixy-step-plugins and vault-storage.

The prepare-community-pr label (color #2DDE7A) is being created in this repo alongside the PR — the workflow filters on github.event.label.name == 'prepare-community-pr' and cannot fire without it.

Notes on safety

The upstream reusable workflow documents its own security model: it refuses to check out the PR branch as the workspace root, validates that the PR number is numeric and the head is a 40-hex SHA, and requires at least one APPROVED review for the current head commit before doing anything.

🤖 Generated with Claude Code

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 <noreply@anthropic.com>
@Jesus-Osuna-M
Jesus-Osuna-M requested review from a team and a lite review from Copilot September 25, 2026 19:27

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot review overview

🟢 Approval recommended

No unresolved review issues were identified.

Review effort: Lite
Findings: None

What changed in this PR

Adds a workflow caller to prepare approved community PRs for full CI through the centralized Rundeck workflow.

Changes:

  • Triggers when the prepare-community-pr label is applied.
  • Grants required repository and pull-request write permissions.
  • Delegates to the centralized workflow.
File Description
.github/​workflows/​prepare-community-pr.yml Adds the community PR preparation workflow caller.

💡 Configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@Jesus-Osuna-M
Jesus-Osuna-M merged commit 9685d5f into main Sep 25, 2026
2 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants