You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
gh repo sync fails with surprising error if workflow scope is missing and token is from GitHub App #10573
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.
The easiest way to reproduce this is to run gh repo sync <remote> using the token issued by GitHub Actions. Please also refer to terraform-linters/magic-modules#7.
Activity
wata727 commentedon Mar 10, 2025
Thank you for opening the issue.
The easiest way to reproduce this is to run
gh repo sync <remote>using the token issued by GitHub Actions. Please also refer to terraform-linters/magic-modules#7.The build log is as follows:
https://github.com/terraform-linters/magic-modules/actions/runs/13742985933/job/38434464702
The build log with
GH_DEBUG=apiis as follows:https://github.com/terraform-linters/magic-modules/actions/runs/13745172118/job/38439197950