Skip to content

Commit

Permalink
feat: improve prompt for reading release token
Browse files Browse the repository at this point in the history
  • Loading branch information
jayanthkoushik committed Jun 28, 2024
1 parent c42ef6d commit 585e8de
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dist/pyseed.py
Original file line number Diff line number Diff line change
Expand Up @@ -1031,9 +1031,9 @@ def setup_github(config: dict[ConfigKey, Any]):

with gh_api.setup_secrets_manager() as gh_secrets_manager:
release_token = getpass(
f"\ncreate a personal access token with 'contents:write' "
f"\n[https://github.com/settings/personal-access-tokens/new] "
f"create a personal access token with 'contents:write' "
f"and 'pull_requests:write' permissions for this project's repo "
f"(https://github.com/settings/personal-access-tokens/new) "
f"({repo_owner}/{project_name}), and enter it here "
f"(or leave empty to skip this step): "
)
Expand Down
4 changes: 2 additions & 2 deletions src/pyseed.py
Original file line number Diff line number Diff line change
Expand Up @@ -1029,9 +1029,9 @@ def setup_github(config: dict[ConfigKey, Any]):

with gh_api.setup_secrets_manager() as gh_secrets_manager:
release_token = getpass(
f"\ncreate a personal access token with 'contents:write' "
f"\n[https://github.com/settings/personal-access-tokens/new] "
f"create a personal access token with 'contents:write' "
f"and 'pull_requests:write' permissions for this project's repo "
f"(https://github.com/settings/personal-access-tokens/new) "
f"({repo_owner}/{project_name}), and enter it here "
f"(or leave empty to skip this step): "
)
Expand Down

0 comments on commit 585e8de

Please sign in to comment.