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"