You've already forked wakapi-readme-stats
10
action.yml
10
action.yml
@@ -107,6 +107,16 @@ inputs:
|
||||
description: "Git commit custom email"
|
||||
default: ""
|
||||
|
||||
COMMIT_USERNAME:
|
||||
required: false
|
||||
description: "Git commit custom username"
|
||||
default: ""
|
||||
|
||||
COMMIT_EMAIL:
|
||||
required: false
|
||||
description: "Git commit custom email"
|
||||
default: ""
|
||||
|
||||
SHOW_UPDATED_DATE:
|
||||
required: false
|
||||
description: "Show updated date"
|
||||
|
||||
2
main.py
2
main.py
@@ -568,7 +568,7 @@ if __name__ == '__main__':
|
||||
rdmd = decode_readme(contents.content)
|
||||
new_readme = generate_new_readme(stats=waka_stats, readme=rdmd)
|
||||
if commit_by_me.lower() in truthy:
|
||||
committer = InputGitAuthor(username, email)
|
||||
committer = InputGitAuthor(username or commit_username, email or commit_email)
|
||||
else:
|
||||
committer = InputGitAuthor(
|
||||
commit_username or 'readme-bot',
|
||||
|
||||
Reference in New Issue
Block a user