Skip to content

DATA-3311 - Remove data field from TabularDataByMQL / SQL responses #1614

DATA-3311 - Remove data field from TabularDataByMQL / SQL responses

DATA-3311 - Remove data field from TabularDataByMQL / SQL responses #1614

name: Check Requirements for Merge
on:
# note: this workflow does not use secrets or check out code, does not need to be pull_request_target
pull_request:
branches:
- main
types:
- labeled
- unlabeled
env:
label-checks-pass:
jobs:
check_requirements:
name: Check Merge Requirements
runs-on: ubuntu-latest
if: github.repository_owner == 'viamrobotics'
steps:
- name: Check Labels
if: >
contains(github.event.pull_request.labels.*.name, 'protos-compiled')
run: echo "label-checks-pass=true" >> $GITHUB_ENV
- name: Final Checks
if: ${{ !env.label-checks-pass }}
uses: actions/github-script@v6
with:
script: core.setFailed('Merge requirements not met.\n\tLabel checks - ${{ env.label-checks-pass }}')