diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 279b5884..1d221d23 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