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

This commit is contained in:
Krrish Dholakia
2024-12-03 12:20:48 -08:00
parent 573377ea49
commit 445ba4de73
+17
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"