From ea31c24a7d4ee8ecce8527df297eb4f8c11708ff Mon Sep 17 00:00:00 2001 From: giles Date: Mon, 23 Oct 2023 13:09:55 +0100 Subject: [PATCH] showauthor --- .gitea/workflows/build->develop.yml | 6 +++--- .gitea/workflows/develop -> build.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.gitea/workflows/build->develop.yml b/.gitea/workflows/build->develop.yml index f318e5e..d7b4c25 100644 --- a/.gitea/workflows/build->develop.yml +++ b/.gitea/workflows/build->develop.yml @@ -17,8 +17,8 @@ jobs: with: node-version: '20' - run: git fetch - - name: log - run: git log -10 + - name: actor + run: echo ${{ github.actor }} - uses: http://sigyl.com:3000/actions/batch2yaml@master with: action: yml @@ -67,7 +67,7 @@ jobs: git status git checkout -b ${{ env.DEVELOPMENT_BRANCH }} git add -A - git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" + git config --global user.name "${{ github.actor }}" git config --global user.email "${{ env.CI_COMMIT_EMAIL }}" git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }}" echo no development branch so pushing diff --git a/.gitea/workflows/develop -> build.yml b/.gitea/workflows/develop -> build.yml index ab5bf6b..e4c9eb8 100644 --- a/.gitea/workflows/develop -> build.yml +++ b/.gitea/workflows/develop -> build.yml @@ -63,7 +63,7 @@ jobs: mv ../cloned/.git . git status git add -A - git config --global user.name "${{ env.CI_COMMIT_AUTHOR }}" + git config --global user.name "${{ github.actor }}" git config --global user.email "${{ env.CI_COMMIT_EMAIL }}" git commit -a -m "${{ github.ref_name }} -> ${{ env.BUILD_BRANCH }} " git push origin HEAD:${{ env.BUILD_BRANCH }}