You've already forked wakapi-readme-stats
new lines added to GH output
This commit is contained in:
2
.github/workflows/review_pr.yml
vendored
2
.github/workflows/review_pr.yml
vendored
@@ -62,7 +62,7 @@ jobs:
|
|||||||
DEBUG_RUN: True # This is for testing purpose only not for production
|
DEBUG_RUN: True # This is for testing purpose only not for production
|
||||||
run: python3 sources/main.py
|
run: python3 sources/main.py
|
||||||
|
|
||||||
- name: Create Comment
|
- name: Create Comment 💬
|
||||||
uses: jungwinter/comment@v1
|
uses: jungwinter/comment@v1
|
||||||
with:
|
with:
|
||||||
type: create
|
type: create
|
||||||
|
|||||||
@@ -118,13 +118,12 @@ class GitHubManager:
|
|||||||
prefix = "README stats current output:"
|
prefix = "README stats current output:"
|
||||||
eol = "".join(choice(ascii_letters) for _ in range(10))
|
eol = "".join(choice(ascii_letters) for _ in range(10))
|
||||||
with open(environ["GITHUB_OUTPUT"], "a") as fh:
|
with open(environ["GITHUB_OUTPUT"], "a") as fh:
|
||||||
fh.write(f"README_CONTENT<<{eol}")
|
fh.write(f"README_CONTENT<<{eol}\n")
|
||||||
fh.write(f"{prefix}\n\n{stats}")
|
fh.write(f"{prefix}\n\n{stats}\n")
|
||||||
fh.write(eol)
|
fh.write(f"{eol}\n")
|
||||||
|
|
||||||
DBM.g("Action output set!")
|
DBM.g("Action output set!")
|
||||||
|
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def update_chart(chart_path: str):
|
def update_chart(chart_path: str):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user