Skip to content

Commit 847058c

Browse files
committed
modified: .github/actions/recent-posts/main.py
- Added bot email and username to global git config so a commit can be made.
1 parent 8cf81d9 commit 847058c

File tree

1 file changed

+2
-0
lines changed
  • .github/actions/recent-posts

1 file changed

+2
-0
lines changed

.github/actions/recent-posts/main.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@ def main(
5959
with readme.open(mode="a") as f:
6060
f.write(f"result={json_string}\n")
6161

62+
subprocess.run(args=["git", "config", "--global", "user.email", "[email protected]"])
63+
subprocess.run(args=["git", "config", "--global", "user.name", "it176131-github-io-bot"])
6264
subprocess.run(args=["git", "add", readme.as_posix()])
6365
subprocess.run(args=["git", "commit", "-m", "Synced and updated with most recent it176131.github.io blog post"])
6466
subprocess.run(args=["git", "push"])

0 commit comments

Comments
 (0)