mirror of
https://github.com/OpenLogics/MewtocolNet.git
synced 2025-12-06 03:01:24 +00:00
(pipeline) Add merge last commits for auto doc
This commit is contained in:
6
.github/workflows/test-pipeline.yml
vendored
6
.github/workflows/test-pipeline.yml
vendored
@@ -50,8 +50,10 @@ jobs:
|
|||||||
git checkout ${{ steps.extract_branch.outputs.branch }}
|
git checkout ${{ steps.extract_branch.outputs.branch }}
|
||||||
git config --local user.email "action@github.com"
|
git config --local user.email "action@github.com"
|
||||||
git config --local user.name "GitHub Action"
|
git config --local user.name "GitHub Action"
|
||||||
git add "./AutoTools.DocBuilder/Docs/plctypes.md" -f
|
git add "./AutoTools.DocBuilder/Docs/plctypes.md" -f &&
|
||||||
git commit -m "(AUTO_DOC) add documentation for branch ${{ steps.extract_branch.outputs.branch }}"
|
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)"
|
||||||
|
|
||||||
- name: 'Push docs commit'
|
- name: 'Push docs commit'
|
||||||
uses: ad-m/github-push-action@master
|
uses: ad-m/github-push-action@master
|
||||||
|
|||||||
Reference in New Issue
Block a user