Skip to content

Commit

Permalink
Update names, only apply to master branch
Browse files Browse the repository at this point in the history
  • Loading branch information
joshuacolvin0 committed Jun 4, 2024
1 parent 1d887a9 commit fcdbb3a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/design-approved.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit fcdbb3a

Please sign in to comment.