Skip to content

Commit

Permalink
Merge pull request #101 from parteekcoder/contribute_action
Browse files Browse the repository at this point in the history
Update contribute.py
  • Loading branch information
pradeeban committed Aug 5, 2023
2 parents f6eaea4 + 49f668a commit c97416f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contribute.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,13 @@ def decode_token(encoded_token):
content = file.read()
file_path = f'{DIR_PATH+remove_prefix(path,STUDY_NAME_PATH)}'
if(platform.uname()[0]=='Windows'): file_path=file_path.replace("\\","/")
print(path)
appendBlobInTree(repo,content,file_path,tree_content)
print('append comp')
commitAndUpdateRef(repo,tree_content,base_ref.commit,branch)
print('comit comp')
runWorkflow(repo,upstream_repo)
print('work comp')
except Exception as e:
print(e)
print("Some error Occured.Please try again after some time.",end="")
Expand Down

0 comments on commit c97416f

Please sign in to comment.