You've already forked wakapi-readme-stats
update branch name
This commit is contained in:
2
main.py
2
main.py
@@ -508,7 +508,7 @@ if __name__ == '__main__':
|
|||||||
committer = InputGitAuthor('readme-bot', 'readme-bot@example.com')
|
committer = InputGitAuthor('readme-bot', 'readme-bot@example.com')
|
||||||
if new_readme != rdmd:
|
if new_readme != rdmd:
|
||||||
repo.update_file(path=contents.path, message='Updated with Dev Metrics',
|
repo.update_file(path=contents.path, message='Updated with Dev Metrics',
|
||||||
content=new_readme, sha=contents.sha, branch='master',
|
content=new_readme, sha=contents.sha, branch='main',
|
||||||
committer=committer)
|
committer=committer)
|
||||||
print("Readme updated")
|
print("Readme updated")
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|||||||
Reference in New Issue
Block a user