diff --git a/.github/labeler.yaml b/.github/labeler.yaml new file mode 100644 index 0000000..dbedcba --- /dev/null +++ b/.github/labeler.yaml @@ -0,0 +1,12 @@ +docs: + - docs/**/* +github: + - .github/**/* +agents: + - template_langgraph/agents/**/* +llms: + - template_langgraph/llms/**/* +services: + - template_langgraph/services/**/* +tools: + - template_langgraph/tools/**/* diff --git a/.github/workflows/labeler.yaml b/.github/workflows/labeler.yaml new file mode 100644 index 0000000..8704729 --- /dev/null +++ b/.github/workflows/labeler.yaml @@ -0,0 +1,14 @@ +name: labeler + +on: [pull_request] + +jobs: + label: + runs-on: ubuntu-latest + + steps: + - name: labeler action + uses: actions/labeler@v2 + with: + repo-token: "${{ secrets.GITHUB_TOKEN }}" + configuration-path: ".github/labeler.yaml" diff --git a/README.md b/README.md index fc66b73..65d8bef 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,7 @@ [![docker-release](https://github.com/ks6088ts-labs/template-langgraph/actions/workflows/docker-release.yaml/badge.svg)](https://github.com/ks6088ts-labs/template-langgraph/actions/workflows/docker-release.yaml) [![ghcr-release](https://github.com/ks6088ts-labs/template-langgraph/actions/workflows/ghcr-release.yaml/badge.svg)](https://github.com/ks6088ts-labs/template-langgraph/actions/workflows/ghcr-release.yaml) [![docs](https://github.com/ks6088ts-labs/template-langgraph/actions/workflows/github-pages.yaml/badge.svg)](https://github.com/ks6088ts-labs/template-langgraph/actions/workflows/github-pages.yaml) +[![labeler](https://github.com/ks6088ts-labs/template-langgraph/actions/workflows/labeler.yaml/badge.svg)](https://github.com/ks6088ts-labs/template-langgraph/actions/workflows/labeler.yaml) [![Deploy to Azure](https://aka.ms/deploytoazurebutton)](https://portal.azure.com/#create/Microsoft.Template/uri/https%3A%2F%2Fraw.githubusercontent.com%2Fks6088ts-labs%2Fbaseline-environment-on-azure-bicep%2Frefs%2Fheads%2Fmain%2Finfra%2Fscenarios%2Ftemplate-langgraph%2Fazuredeploy.json)