diff --git a/.github/workflows/test-pipeline.yml b/.github/workflows/test-pipeline.yml index d989c63..fd887d0 100644 --- a/.github/workflows/test-pipeline.yml +++ b/.github/workflows/test-pipeline.yml @@ -51,9 +51,7 @@ jobs: git config --local user.email "action@github.com" git config --local user.name "GitHub Action" git add "./AutoTools.DocBuilder/Docs/plctypes.md" -f && - git commit -m "(AUTO_DOC) add documentation for branch ${{ steps.extract_branch.outputs.branch }}" && - git reset --soft HEAD~2 && - git commit --edit -m"$(git log --skip=1 --max-count=1 --format=%B)" + git commit --amend --no-edit - name: 'Push docs commit' uses: ad-m/github-push-action@master