-
-
Notifications
You must be signed in to change notification settings - Fork 310
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
Custom section name in user readme #110
Conversation
Hey, actually marked it as WIP and then edited it out - testing is done atm. |
@joe733 Squashed all the commits in one and updated readme :) |
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.
Perfect! Thanks for the PR.
Note-to-self: Need input validation for
os.getenv("SECTION_NAME")
797f6a3
to
3406025
Compare
Hey again @joe733 |
Ah, thank you. But it was a |
@@ -58,6 +58,7 @@ | |||
INPUT_REPOSITORY='<REPOSITORY SLUG>' | |||
INPUT_COMMIT_MESSAGE='<COMMIT MESSAGE>' | |||
INPUT_SHOW_TITLE='True' | |||
INPUT_SECTION_NAME='wakacustom' |
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.
Keep, it as waka
-INPUT_SECTION_NAME='wakacustom'
+INPUT_SECTION_NAME='waka'
@@ -336,7 +342,7 @@ def churn(old_readme: str, /) -> str | None: | |||
if not (waka_stats := fetch_stats()): | |||
logger.error('Unable to fetch data, please rerun workflow') | |||
sys.exit(1) | |||
|
|||
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.
Stray (tab) white space
I do want to make changes, but for now let it be. |
Basically, allow any other section name tag than "waka" in the readme, to avoid conflicts with other projects that may use the same default one. I'll do the same PR for the other one...
Currently testing.