From 502c513d8e99ac2df373a6fc3a5d7ecd2a7e32ff Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Wed, 24 Apr 2024 10:59:14 +0800 Subject: [PATCH 1/5] update pycln version Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index b71a2bac43..b9debaf08f 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -69,7 +69,7 @@ repos: )$ - repo: https://github.com/hadialqattan/pycln - rev: v2.1.3 + rev: v2.4.0 hooks: - id: pycln args: [--config=pyproject.toml] From ac8a775fe004b786e0b70e90ef95b314f9deb08b Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Wed, 24 Apr 2024 11:38:09 +0800 Subject: [PATCH 2/5] ignore workflow created from dev Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- .github/workflows/pythonapp-min.yml | 2 ++ .github/workflows/pythonapp.yml | 2 ++ 2 files changed, 4 insertions(+) diff --git a/.github/workflows/pythonapp-min.yml b/.github/workflows/pythonapp-min.yml index bbe7579774..6386c8f553 100644 --- a/.github/workflows/pythonapp-min.yml +++ b/.github/workflows/pythonapp-min.yml @@ -9,6 +9,8 @@ on: - main - releasing/* pull_request: + branches-ignore: + - dev concurrency: # automatically cancel the previously triggered workflows when there's a newer version diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index b7f2cfb9db..e780be1c81 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -9,6 +9,8 @@ on: - main - releasing/* pull_request: + branches-ignore: + - dev concurrency: # automatically cancel the previously triggered workflows when there's a newer version From 2cb6b34d22c5dd6bfb610fac18180788109f176e Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Wed, 24 Apr 2024 11:59:30 +0800 Subject: [PATCH 3/5] temp test Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- tests/test_regularization.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_regularization.py b/tests/test_regularization.py index 4df60b9808..64f5d2d3b6 100644 --- a/tests/test_regularization.py +++ b/tests/test_regularization.py @@ -19,6 +19,7 @@ from monai.utils import set_determinism + class TestMixup(unittest.TestCase): def setUp(self) -> None: From e29bd7c91187dd6d1f1fe8450caec4435bbd4548 Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Wed, 24 Apr 2024 12:06:51 +0800 Subject: [PATCH 4/5] temp test Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- .github/workflows/pythonapp.yml | 2 -- tests/test_regularization.py | 1 - 2 files changed, 3 deletions(-) diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index e780be1c81..b7f2cfb9db 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -9,8 +9,6 @@ on: - main - releasing/* pull_request: - branches-ignore: - - dev concurrency: # automatically cancel the previously triggered workflows when there's a newer version diff --git a/tests/test_regularization.py b/tests/test_regularization.py index 64f5d2d3b6..4df60b9808 100644 --- a/tests/test_regularization.py +++ b/tests/test_regularization.py @@ -19,7 +19,6 @@ from monai.utils import set_determinism - class TestMixup(unittest.TestCase): def setUp(self) -> None: From 3ad5e745dd7f4f38a62271623eda82a2f279af54 Mon Sep 17 00:00:00 2001 From: YunLiu <55491388+KumoLiu@users.noreply.github.com> Date: Wed, 24 Apr 2024 12:16:58 +0800 Subject: [PATCH 5/5] use `head_ref-ignore` Signed-off-by: YunLiu <55491388+KumoLiu@users.noreply.github.com> --- .github/workflows/pythonapp-min.yml | 2 +- .github/workflows/pythonapp.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/pythonapp-min.yml b/.github/workflows/pythonapp-min.yml index 6386c8f553..dffae10558 100644 --- a/.github/workflows/pythonapp-min.yml +++ b/.github/workflows/pythonapp-min.yml @@ -9,7 +9,7 @@ on: - main - releasing/* pull_request: - branches-ignore: + head_ref-ignore: - dev concurrency: diff --git a/.github/workflows/pythonapp.yml b/.github/workflows/pythonapp.yml index b7f2cfb9db..d4043585cc 100644 --- a/.github/workflows/pythonapp.yml +++ b/.github/workflows/pythonapp.yml @@ -9,6 +9,8 @@ on: - main - releasing/* pull_request: + head_ref-ignore: + - dev concurrency: # automatically cancel the previously triggered workflows when there's a newer version