From 86ec62f98a477ac3eff5addce7bfc18160df5733 Mon Sep 17 00:00:00 2001 From: Simon Alibert Date: Wed, 6 Mar 2024 12:02:01 +0100 Subject: [PATCH] Trigger CI on PR labeled CI --- .github/workflows/test.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 279b58847..1d221d23c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -4,13 +4,14 @@ on: pull_request: branches: - main - types: [opened, synchronize, reopened] + types: [opened, synchronize, reopened, labeled] push: branches: - main jobs: test: + if: contains(github.event.pull_request.labels.*.name, 'CI') runs-on: ubuntu-latest env: POETRY_VERSION: 1.8.1