Skip to content

Commit 396c5b2

Browse files
refactor text
Signed-off-by: Guillaume Falourd <[email protected]>
1 parent 4c42725 commit 396c5b2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ Finally, you can check if the repository has been imported correctly by executin
5353

5454
- [Delete workflow logs](https://github.com/GuillaumeFalourd/formulas-github/tree/master/github/delete/workflow-logs): `rit github delete workflow-logs`
5555

56-
*Formula to delete aall workflow logs from a specific workflow file*
56+
*Formula to delete all workflow logs from a specific workflow file*
5757

5858
- [Get Github Repo Details](https://github.com/GuillaumeFalourd/formulas-github/tree/master/github/get/repo): `rit github get repo`
5959

github/delete/workflow-logs/src/formula/formula.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,12 +61,12 @@ def Run(user, token, owner, repository):
6161
)
6262

6363
if r.status_code == 204:
64-
print(f"✅ Workflow \033[36m{workflow_name}\033[0m log with ID \033[36m{run_id}\033[0m successfully cleaned on {owner}'s \033[36m{repository}\033[0m repository")
64+
print(f"✅ Workflow \033[36m{workflow_name}\033[0m log with ID \033[36m{run_id}\033[0m successfully deleted on {owner}'s \033[36m{repository}\033[0m repository")
6565

6666
if r.status_code != 204:
6767
print(f"❌ Couldn't clean workflow log for \033[36m{workflow_name}\033[0m and run id \033[36m{run_id}\033[0m")
6868
print (r.status_code, r.reason)
69-
69+
7070
else:
7171
print(f"❌ Couldn't retrieve {owner}'s \033[36m{repository}\033[0m repository workflows.")
7272
print (r.status_code, r.reason)

0 commit comments

Comments
 (0)