Skip to content

Commit 9ccd348

Browse files
committed
Fixed issue of not updating title and body by user
1 parent edcc46b commit 9ccd348

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

contribute

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ fi
2020
if [ -z $6 ]; then
2121
arg6="#"
2222
fi
23-
python3 contribute.py $1 $2 $3 $arg4 $arg5 $arg6
23+
python3 contribute.py "$1" "$2" "$3" "$arg4" "$arg5" "$arg6"

contribute.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def anyOpenPR(upstream_repo):
4747
def commitAndUpdateRef(repo,tree_content,commit,branch):
4848
try:
4949
new_tree = repo.create_git_tree(tree=tree_content,base_tree=commit.commit.tree)
50-
new_commit = repo.create_git_commit("commit message",new_tree,[commit.commit])
50+
new_commit = repo.create_git_commit("commit study",new_tree,[commit.commit])
5151
if len(repo.compare(base=commit.commit.sha,head=new_commit.sha).files) == 0:
5252
print("Your don't have any new changes.May be your example is already accepted.If this is not the case try with different fields.")
5353
exit(0)

0 commit comments

Comments
 (0)