Skip to content

Differentiate Draft PRs #20

@e-marfoeldi-carnect

Description

@e-marfoeldi-carnect

Expected Behavior

It should show PR as Draft.

Actual Behavior

Every draft PR is shown as Open PR.

Step to reproduce the Problem

Github organization/user name is wrongly parsed: https://github.com/rehangit/prstatus/blob/master/src/contentscript.js#L107

  • GITHUB_ACCOUNT is never set in the config
  • In my case first issue doesnt have any PRs, therefore GITHUB_ACCOUNT is not set correctly.

Therefore request to Github API always returns empty result, because there is no 0 user/organization.

https://api.github.com/search/issues?q=BRI-+org:0+is:open&per_page=100

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions