From b5464d2856ff3aec6875405cdd3e87eb035521c4 Mon Sep 17 00:00:00 2001 From: Michael Duong Date: Mon, 11 Sep 2023 11:02:07 +0100 Subject: [PATCH] try v4 --- .github/workflows/MLPipelinePostMerge.yml | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/.github/workflows/MLPipelinePostMerge.yml b/.github/workflows/MLPipelinePostMerge.yml index 1babf57..a83a6b4 100644 --- a/.github/workflows/MLPipelinePostMerge.yml +++ b/.github/workflows/MLPipelinePostMerge.yml @@ -48,7 +48,7 @@ jobs: if: github.event.pull_request.merged == true runs-on: ubuntu-latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 with: fetch-depth: 0 @@ -68,11 +68,7 @@ jobs: REGISTER_MODEL_NAME=$(echo ${{ github.event.pull_request.head.ref }} | awk -F"-" '{print $1}') # REGISTER_MODEL_NAME=$(echo ${{github.ref_name}} | awk -F"-" '{print $1}') git config user.name "Github-Bot" - git config user.email "Github-Bot" - - git fetch origin - git merge origin/master - git pull + git config user.email "Github-Bot@no-reply.com" gto register ${REGISTER_MODEL_NAME} gto assign ${REGISTER_MODEL_NAME} --stage dev