Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract GitHub token from file if --github-token or env variable GITHUB_TOKEN is not present #849

Merged
merged 6 commits into from
Mar 3, 2023

Commits on Mar 3, 2023

  1. Add option --no-extract-github-token-from-config

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    d728057 View commit details
    Browse the repository at this point in the history
  2. Add new dep gh-token v0.1.0 to crates/bin

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    02644a8 View commit details
    Browse the repository at this point in the history
  3. Extract github-token from git-credentials or gh config

    if `--github-token` or environment variable `GITHUB_TOKEN` is not
    present.
    
    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    3d1235a View commit details
    Browse the repository at this point in the history
  4. Improve scraping .git-credentials: Respect XDG_CONFIG_HOME

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    2fe4fe8 View commit details
    Browse the repository at this point in the history
  5. Rename --no-extract-github-token-from-file => `--no-scrap-github-to…

    …ken`
    
    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    c8e420b View commit details
    Browse the repository at this point in the history
  6. Rename --no-scrap-github-token => --no-discover-github-token

    Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
    NobodyXu committed Mar 3, 2023
    Configuration menu
    Copy the full SHA
    07dd41c View commit details
    Browse the repository at this point in the history