From 24743319a052aa020fe3ab283a4f7373789aa53f Mon Sep 17 00:00:00 2001 From: Guoshuai Zhao Date: Wed, 18 Sep 2024 14:47:28 +0800 Subject: [PATCH] add event to control the workflow. --- .github/workflows/build-image.yaml | 1 + .github/workflows/unit-tests.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/.github/workflows/build-image.yaml b/.github/workflows/build-image.yaml index 90d7b7e6..52315169 100644 --- a/.github/workflows/build-image.yaml +++ b/.github/workflows/build-image.yaml @@ -5,6 +5,7 @@ on: branches: - main pull_request: + types: [assigned, labeled] branches: - main release: diff --git a/.github/workflows/unit-tests.yaml b/.github/workflows/unit-tests.yaml index fae3a106..2ebbaf9a 100644 --- a/.github/workflows/unit-tests.yaml +++ b/.github/workflows/unit-tests.yaml @@ -2,6 +2,7 @@ name: Unit Tests on: pull_request: + types: [assigned, labeled] branches: - main - release/*