mirror of
https://github.com/Hestia-Homes/ML.git
synced 2026-06-08 11:17:25 +00:00
try patch
This commit is contained in:
parent
8bc5ab0a8c
commit
bb2bd8651d
1 changed files with 10 additions and 4 deletions
14
.github/workflows/MLPipelinePostMerge.yml
vendored
14
.github/workflows/MLPipelinePostMerge.yml
vendored
|
|
@ -45,9 +45,11 @@ jobs:
|
|||
git push origin ${new_tag}
|
||||
|
||||
gto show >> MODEL_REGISTRY.md
|
||||
git commit -am "Update Registry"
|
||||
git push
|
||||
|
||||
Register-Minor-Model-Dev:
|
||||
# if: ${{ (github.event.pull_request.merged == true) && (contains(github.event.pull_request.labels.*.name, 'minor')) }}
|
||||
if: ${{ (github.event.pull_request.merged == true) && (contains(github.event.pull_request.labels.*.name, 'minor')) }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
@ -61,8 +63,8 @@ jobs:
|
|||
|
||||
- name: Register Model
|
||||
run: |
|
||||
# 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}')
|
||||
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@no-reply.com"
|
||||
|
|
@ -76,9 +78,11 @@ jobs:
|
|||
git push origin ${new_tag}
|
||||
|
||||
gto show >> MODEL_REGISTRY.md
|
||||
git commit -am "Update Registry"
|
||||
git push
|
||||
|
||||
Register-Patch-Model-Dev:
|
||||
if: ${{ (github.event.pull_request.merged == true) && (contains(github.event.pull_request.labels.*.name, 'patch')) }}
|
||||
# if: ${{ (github.event.pull_request.merged == true) && (contains(github.event.pull_request.labels.*.name, 'patch')) }}
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
|
@ -107,6 +111,8 @@ jobs:
|
|||
git push origin ${new_tag}
|
||||
|
||||
gto show >> MODEL_REGISTRY.md
|
||||
git commit -am "Update Registry"
|
||||
git push
|
||||
|
||||
Promote-Artefacts-To-Dev:
|
||||
if: github.event.pull_request.merged == true
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue