jenkinsci / jenkinsci/github-branch-source-plugin

[JENKINS-57153] Allow building forks in addition to main repo and PRs

Open
#1,249 1 comment 0 reactions 0 assignees View on GitHub
component:github-branch-source-plugin enhancement imported-jira-issue priority:minor resolution:unresolved
Dominant language
Java
Stars
217
Forks
398
Avg merge
30m
Merged PRs (30d)
1

Description

Add "Discover branches from forks" action to the plugin.

In some cases the workflow is such that developers develop in their own forks and only make PRs to the main repository. In such cases we can only build after a PR has been made. This might lead to a situation where developers are forced to make work-in-progress PRs to get some tests or else run in the CI.

Adding "Discover branches from forks" action to the plugin makes it possible to combine it with Named branches and Regular expression to build branches the developer wants to be built. The "Trust" choice could be used here similarly to the PRs.

This is as safe as building PRs since it would not be on by default and similar defensive measures could be used as can be used with PR building.

---
Originally reported by lasselindqvist, imported from: Allow building forks in addition to main repo and PRs


  • status: Open
  • priority: Minor
  • component(s): github-branch-source-plugin
  • resolution: Unresolved
  • votes: 0
  • watchers: 2
  • imported: 2025-12-02

Raw content of original issue

Add "Discover branches from forks" action to the plugin.

In some cases the workflow is such that developers develop in their own forks and only make PRs to the main repository. In such cases we can only build after a PR has been made. This might lead to a situation where developers are forced to make work-in-progress PRs to get some tests or else run in the CI.

Adding "Discover branches from forks" action to the plugin makes it possible to combine it with Named branches and Regular expression to build branches the developer wants to be built. The "Trust" choice could be used here similarly to the PRs.

This is as safe as building PRs since it would not be on by default and similar defensive measures could be used as can be used with PR building.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.