build(label-mlops.yml): add tag to mlops user requests

This commit is contained in:
Krrish Dholakia 2024-12-03 12:20:42 -08:00
parent 1afcc21524
commit 1edfb4b718

17
.github/workflows/label-mlops.yml vendored Normal file
View file

@ -0,0 +1,17 @@
name: Label ML Ops Team Issues
on:
issues:
types:
- opened
jobs:
add-mlops-label:
runs-on: ubuntu-latest
steps:
- name: Check if ML Ops Team is selected
uses: actions-ecosystem/action-add-labels@v1
if: contains(github.event.issue.body, "Are you a ML Ops Team?\n- Yes")
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
labels: "mlops user request"