From fcdbb3a212488b965eb41fcd8eae2a344a1b651b Mon Sep 17 00:00:00 2001 From: Joshua Colvin Date: Mon, 3 Jun 2024 17:14:58 -0700 Subject: [PATCH] Update names, only apply to master branch --- .github/workflows/design-approved.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/.github/workflows/design-approved.yml b/.github/workflows/design-approved.yml index b24bfb337b..e271cc3638 100644 --- a/.github/workflows/design-approved.yml +++ b/.github/workflows/design-approved.yml @@ -2,15 +2,16 @@ name: Design Approved Check on: pull_request: + branches: [ master ] types: [synchronize, opened, reopened, labeled, unlabeled] jobs: design-approved-check: if: ${{ !contains(github.event.*.labels.*.name, 'design-approved') }} - name: Prevent Merging + name: Design Approved Check runs-on: ubuntu-latest steps: - - name: Check for label + - name: Check for design-approved label run: | echo "Pull request is missing the 'design-approved' label" echo "This workflow fails so that the pull request cannot be merged"