DATA-3438 Add resourceSubtype to data source specification #1626
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }}') |