jenkinsci / jenkinsci/github-branch-source-plugin

[JENKINS-75704] GitHub App Integration: PRs Created by GitHub Copilot Not Detected During Multibranch Scan

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

Description

Description:

When using the Jenkins GitHub App integration with a multibranch pipeline, Jenkins successfully detects branches created by GitHub Copilot, but fails (example log: Could not find user Copilot for pull request 188.) to detect pull requests created by the same GitHub App user.

As a result, these pull requests do not appear in the multibranch pipeline view, and their corresponding jobs are not created.

This issue affects visibility and CI validation of PRs authored by GitHub Apps like Copilot witch in turn is linked to our ability to merge those PRs in Github Web.




Steps to Reproduce:



  1. Configure a Jenkins GitHub Organization or multibranch pipeline using the GitHub App credential.

  2. Trigger a scan of the repository.

  3. Observe:

    1. Branches created by GitHub Copilot (e.g., copilot/branch-name) appear in Jenkins.

    2. Pull requests authored by GitHub Copilot do not show up in the job list.



  4. Jenkins logs contain an "warning" like:

 Checking branch copilot/fix-187

'jenkins/ci/Jenkinsfile' found
Met criteria
Changes detected: copilot/fix-187 (null → 1061b95307b6db908c31c1a8e20a520fcd704327)
Did not schedule build for branch: copilot/fix-187
8 branches were processed
Checking pull-requests...
Getting remote pull requests...
Could not find user Copilot for pull request 188.
 

 

Additional info:

The same flow works fine with dependabot created automatic PRs/branches.

---
Originally reported by stobor_jenkins_user, imported from: GitHub App Integration: PRs Created by GitHub Copilot Not Detected During Multibranch Scan


  • status: In Review
  • priority: Major
  • component(s): github-branch-source-plugin
  • resolution: Unresolved
  • votes: 11
  • watchers: 8
  • imported: 2025-12-02

Raw content of original issue

Description:
When using the Jenkins GitHub App integration with a multibranch pipeline, Jenkins successfully detects branches created by GitHub Copilot, but fails (example log: Could not find user Copilot for pull request 188.) to detect pull requests created by the same GitHub App user.

As a result, these pull requests do not appear in the multibranch pipeline view, and their corresponding jobs are not created.

This issue affects visibility and CI validation of PRs authored by GitHub Apps like Copilot witch in turn is linked to our ability to merge those PRs in Github Web.




Steps to Reproduce:



  1. Configure a Jenkins GitHub Organization or multibranch pipeline using the GitHub App credential.

  2. Trigger a scan of the repository.

  3. Observe:

    1. Branches created by GitHub Copilot (e.g., copilot/branch-name) appear in Jenkins.

    2. Pull requests authored by GitHub Copilot do not show up in the job list.



  4. Jenkins logs contain an "warning" like:


 Checking branch copilot/fix-187

'jenkins/ci/Jenkinsfile' found
Met criteria
Changes detected: copilot/fix-187 (null → 1061b95307b6db908c31c1a8e20a520fcd704327)
Did not schedule build for branch: copilot/fix-187
8 branches were processed
Checking pull-requests...
Getting remote pull requests...
Could not find user Copilot for pull request 188.
 


 

Additional info:

The same flow works fine with dependabot created automatic PRs/branches.

environment

```
Jenkins 2.504.1

Github Branch Source Pugin 1815.v9152b_2ff7a_1b_
```

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.