Git status failed with code 1287/31/2023 ![]() Honestly: maybe it's also a solution, I don't know! Generating a token is too complicated to try when there's an easier fix that works perfectly. 'git status' failed with code 128: fatal: detected dubious ownership in repository 'DIRECTORY PATH' I have executed the command git config -global -add safe.directory 'DIRECTORY PATH' The repository started working in the terminal, however, I'm still getting the error on Sourcetree UI. If you talk of the command return code, it means that the key has been revoked. ![]() check your TFS ATs event log, see whether there is any exceptions on server side. check your TFS AT's event log, see whether there is any exceptions on server side. That means you have to read the error message. markofranjic i dont think this is a problem about the agent, the agent invoke git.exe and it returns 128. markofranjic i don't think this is a problem about the agent, the agent invoke git.exe and it returns 128. This is a token that GitHub Actions automatically generates for you, and it's supposed to give you access to the repository. It doesn't mean it's necessarily something to do with authentication. One suggestion you'll see is to adding a GITHUB_TOKEN to the workflow file. git status failed with code 128: fatal: detected dubious ownership in repository DIRECTORY PATH I have executed the command git config -global -add safe.directory DIRECTORY PATH The repository started working in the terminal, however, Im still getting the error on Sourcetree UI. it seems to me that the status 128 is caused by the private repos authority setting. ![]() Name : scrape on : workflow_dispatch : schedule : - cron : '*/5 * * * *' permissions : contents : write jobs : scrape : runs-on : ubuntu-latest steps : - name : Check out this repo uses : - name : Set up Python uses : with : python-version : '3.9' - name : Install necessary Python packages run : pip install pandas jupyter lxml playwright beautifulsoup4 requests - name : Run the scraping script run : python scraper.py - name : Commit and push if content changed run : |- git config user.name "Automated" git config user.email git add -A timestamp=$(date -u) git commit -m "Latest data: $" || exit 0 git push What doesn't work ¶
0 Comments
Leave a Reply.AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |