diff --git a/.github/workflows/build_Editor.yml b/.github/workflows/build_Editor.yml index ae6ff0c..23a39fb 100644 --- a/.github/workflows/build_Editor.yml +++ b/.github/workflows/build_Editor.yml @@ -17,6 +17,9 @@ jobs: steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - uses: actions/checkout@master + with: + persist-credentials: false # otherwise, the token used is the GITHUB_TOKEN, instead of your personal token + fetch-depth: 0 # otherwise, you will failed to push refs to dest repo # set up NodeJS - uses: actions/setup-node@master @@ -35,11 +38,9 @@ jobs: - name: Commit files run: | - git config --global user.name "github-actions[bot]" - git config --global user.email "41898282+github-actions[bot]@users.noreply.github.com" - - git add -A - git commit -m "New build of the Editor" + git config --local user.email "action@github.com" + git config --local user.name "GitHub Action" + git commit -m "New build of the Editor" -a - name: Push changes uses: ad-m/github-push-action@master with: