From 192fcfdfc81e490faec8029970fc3b3f594f0c46 Mon Sep 17 00:00:00 2001 From: Michael Duong Date: Wed, 13 Sep 2023 22:50:07 +0100 Subject: [PATCH] add manual check --- .github/workflows/MLPipelinePullRequest.yml | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/.github/workflows/MLPipelinePullRequest.yml b/.github/workflows/MLPipelinePullRequest.yml index d9e8cb2..141d3df 100644 --- a/.github/workflows/MLPipelinePullRequest.yml +++ b/.github/workflows/MLPipelinePullRequest.yml @@ -12,15 +12,12 @@ permissions: write-all jobs: Enforce-label: - + if: ${{ github.event.label.name != 'major' }} || ${{ github.event.label.name != 'minor' }} || ${{ github.event.label.name != 'patch' }} runs-on: ubuntu-latest steps: - - uses: yogevbd/enforce-label-action@2.1.0 - with: - REQUIRED_LABELS_ANY: "major,minor,patch" - REQUIRED_LABELS_ANY_DESCRIPTION: "Select at least one label ['major','minor','patch']" - BANNED_LABELS: "banned" + - name: No label associated with PR + run: exit(1) # Verify-Model: