Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh repo sync fails with surprising error if workflow scope is missing and token is from GitHub App #10573

Copy link
Copy link

Description

@williammartin
Issue body actions

Describe the bug

This is an extension of #7574 based on the comment that the previous fix doesn't work for GitHub App tokens.

Affected version

v2.68.1

Acceptance Criteria

Given I have a GitHub App token that is missing workflow scope
When I run gh repo sync where the upstream repo has workflow changes to be synced
Then I get an informative error rather than a 404.

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingSomething isn't workinggh-reporelating to the gh repo commandrelating to the gh repo commandpriority-3Affects a small number of users or is largely cosmeticAffects a small number of users or is largely cosmetic

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.