-
Notifications
You must be signed in to change notification settings - Fork 32
fix: output of printed repo url does not work #317
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates the repository to improve URL formatting in log messages, update version references in the README, and rename the default issue title for better CLI search accuracy.
- Fixed the output in stale_repos.py by removing an extra colon from the printed URL.
- Upgraded GitHub Action versions and updated the default issue title format in the README.md file.
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 1 comment.
File | Description |
---|---|
stale_repos.py | Removed an unintended colon from the printed URL in the repo data. |
README.md | Updated action versions and changed the default issue title format. |
@@ -386,7 +386,7 @@ def set_repo_data( | |||
Potentially caused by ghost user." | |||
) | |||
|
|||
print(f"{repo.html_url}: {days_inactive} days inactive") # type: ignore | |||
print(f"{repo.html_url} {days_inactive} days inactive") # type: ignore |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[nitpick] While removing the colon fixes the URL link issue, the new formatting could reduce clarity in separating the URL from the inactive days. Consider using a different delimiter (e.g., a comma or tab) to improve readability while keeping the URL valid.
print(f"{repo.html_url} {days_inactive} days inactive") # type: ignore | |
print(f"{repo.html_url},{days_inactive} days inactive") # type: ignore |
Copilot uses AI. Check for mistakes.
@chrheg thank you for the contribution. got some test failures. Thank you for updating the readme. The issue rename is a nice catch and the colon also. Will look again once tests fixed. |
Thanks for the changes!! I'm thinking that these might need to be considered breaking changes with the report name change. Any automation people might have to operate on the output file could break with a name update. @jmeridth do you agree with rolling the major version here? |
Updated the test file now 👍 Hopefully it passes 🤞 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the fix!!
Proposed Changes
Readiness Checklist
Author/Contributor
make lint
and fix any issues that you have introducedmake test
and ensure you have test coverage for the lines you are introducing@jeffrey-luszcz
Reviewer
fix
,documentation
,enhancement
,infrastructure
,maintenance
orbreaking