Skip to content

Commit

Permalink
Merge branch 'master' into export-stateAndHeaderFromHeader-func
Browse files Browse the repository at this point in the history
  • Loading branch information
tsahee authored Jun 11, 2024
2 parents 9c4f48c + 08108a3 commit 0a55348
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/merge-checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Merge Checks

on:
pull_request:
branches: [ master ]
types: [synchronize, opened, reopened, labeled, unlabeled]

jobs:
design-approved-check:
if: ${{ !contains(github.event.*.labels.*.name, 'design-approved') }}
name: Design Approved Check
runs-on: ubuntu-latest
steps:
- 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"
exit 1

0 comments on commit 0a55348

Please sign in to comment.