From 2bda2ac8625b922e945157025b78b77c2cc7bdab Mon Sep 17 00:00:00 2001 From: Ahmad Mostafa Date: Mon, 28 Apr 2025 11:51:00 +0300 Subject: [PATCH] Update cml.yaml Using on: pull_request as it is mentioned in Readme that "When a pull request is made in this repository, the following will occur .... etc." and also in the yaml file : cml comment create --pr --publish metrics.txt --- .github/workflows/cml.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/cml.yaml b/.github/workflows/cml.yaml index fa5e65d..ddfe5a2 100644 --- a/.github/workflows/cml.yaml +++ b/.github/workflows/cml.yaml @@ -1,5 +1,7 @@ name: train-my-model -on: [push] +on: + pull_request: + types: [opened, synchronize, reopened] jobs: train-model: runs-on: ubuntu-latest