feat: use github-actions bot as the committer

This commit is contained in:
Cai Shengliang
2020-12-30 19:03:38 +08:00
parent abaa2cee2f
commit 003a72dc91
2 changed files with 2 additions and 2 deletions

2
loc.py
View File

@@ -96,7 +96,7 @@ class LinesOfCode:
def pushChart(self):
repo = self.g.get_repo(f"{self.username}/{self.username}")
committer = InputGitAuthor('readme-bot', 'readme-bot@example.com')
committer = InputGitAuthor('readme-bot', '41898282+github-actions[bot]@users.noreply.github.com')
with open('bar_graph.png', 'rb') as input_file:
data = input_file.read()
try: