Merge pull request 'runna diff on build and development' (#134) from develop/hrereare into master

Reviewed-on: #134
This commit is contained in:
giles 2023-10-23 09:08:14 +00:00
commit bb0c9c7a89
1 changed files with 3 additions and 5 deletions

View File

@ -28,7 +28,7 @@ jobs:
firstString=${{ github.ref_name }}
secondString="develop"
echo ::set-env name=DEVELOPMENT_BRANCH::${firstString/build\//"$secondString"\/}
- name: GIT commit and push all changed files
- name: GIT commit diff
env:
CI_COMMIT_MESSAGE: converted to yml for review.
CI_COMMIT_AUTHOR: Continuous Integration
@ -37,6 +37,4 @@ jobs:
git config --global user.email "username@users.noreply.github.com"
git add -A
git commit -a -m "${{ github.ref_name }} -> ${{ env.DEVELOPMENT_BRANCH }}"
git checkout -b ${{ env.DEVELOPMENT_BRANCH }}
git merge --squash ${{ github.ref_name }}
git push origin HEAD:${{ env.DEVELOPMENT_BRANCH }}
ggit diff HEAD origin/${{ env.DEVELOPMENT_BRANCH }}