From d2ac53f229dbde4d85629a817f08622d09849a1d Mon Sep 17 00:00:00 2001 From: Marcus Bakker <40516252+marcusbakker@users.noreply.github.com> Date: Thu, 16 Jul 2020 15:58:38 +0200 Subject: [PATCH] Attempt to get the Action working. --- .github/workflows/build_Editor.yml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) 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: