Skip to content

Identical Github Account Alias #269

@Les-Fleming

Description

@Les-Fleming

Describe the bug

GitHub account selection fails when identical aliases are configured for different GitHub endpoints. This issue prevents the system from distinguishing between accounts that share the same alias but belong to separate environments (e.g., GitHub.com vs. GitHub Enterprise).

Describe the bug:
I have two accounts in Settings | Version Control | GitHub that both show as A12345 ( alias creation done by the IDE )
Account A: https://github.com.t → Alias: A12345
Account B: https://github.com.w → Alias: A12345

The plugin is likely doing a simple lookup for A12345 and stopping at the first match it finds in the list, which happens to be the wrong endpoint.

When I try to select Account B from the Github Actions Manager Plugin 'Github Account' drop down, is lists both alias e.g. A12345 but when I try to select the second of the alias, it defaults to the first which is pointing to GitHub endpoint https://github.com.t (note the T) and not https://github.com.w (note the W).

Steps to reproduce

Create identical aliases for two different accounts targeting separate GitHub endpoints.

Expected behavior

Choosing the second alias works as expected.

Additional context

Plugin version:
IDE: IntelliJ IDEA 2025.3
OS: macOS Tahoe 26.2

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions