From 1edfb4b7189b598988d9f98b32c32c557ca22ebc Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Tue, 3 Dec 2024 12:20:42 -0800 Subject: [PATCH] build(label-mlops.yml): add tag to mlops user requests --- .github/workflows/label-mlops.yml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .github/workflows/label-mlops.yml diff --git a/.github/workflows/label-mlops.yml b/.github/workflows/label-mlops.yml new file mode 100644 index 0000000000..0b9a36aae8 --- /dev/null +++ b/.github/workflows/label-mlops.yml @@ -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"