File overwrite in Github Repo Folder - Failing with "Error: Process completed with exit code 1" #796
Unanswered
jairamjidgekar
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi All,
I have a python script which scrapes data from the wiki page and writes to csv file.
I have scheduled the file using GH Actions every 1 day.
To test the functionality, I ran the workflow manually for the first time. The CSV file got successfully downloaded and placed in the desired folder.
Second time, when I reran it, I was expecting it to replace/overwrite the file in the same folder(path). But it didn't. It failed with the below error:
"Error: Process completed with exit code 1"
I tried multiple options of pushing the files forcefully in the commit part, but to no luck.
Python code:
YML file code snippet:
Can you please guide me here.
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions