Skip to content

DATA-3440 Add ExportTabularData + deprecate TabularDataByFilter #1629

DATA-3440 Add ExportTabularData + deprecate TabularDataByFilter

DATA-3440 Add ExportTabularData + deprecate TabularDataByFilter #1629

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 }}')