From 013a689b332ac8b32d76691f66291919712e69b2 Mon Sep 17 00:00:00 2001 From: "Hussam.lawen" Date: Sun, 29 Oct 2023 10:43:04 +0200 Subject: [PATCH] generate_labels fix --- docs/GENERATE_CUSTOM_LABELS.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/docs/GENERATE_CUSTOM_LABELS.md b/docs/GENERATE_CUSTOM_LABELS.md index 5c1743f4..b5b555f7 100644 --- a/docs/GENERATE_CUSTOM_LABELS.md +++ b/docs/GENERATE_CUSTOM_LABELS.md @@ -1,16 +1,16 @@ # Generate Custom Labels -The `generte_labels` tool scans the PR code changes, and given a list of labels and their descriptions, it automatically suggests labels that match the PR code changes. +The `generate_labels` tool scans the PR code changes, and given a list of labels and their descriptions, it automatically suggests labels that match the PR code changes. It can be invoked manually by commenting on any PR: ``` -/generte_labels +/generate_labels ``` For example: If we wish to add detect changes to SQL queries in a given PR, we can add the following custom label along with its description: -When running the `generte_labels` tool on a PR that includes changes in SQL queries, it will automatically suggest the custom label: +When running the `generate_labels` tool on a PR that includes changes in SQL queries, it will automatically suggest the custom label: ### Configuration options @@ -24,7 +24,7 @@ description = "Description of when AI should suggest this label" - You can add modify the list to include all the custom labels you wish to use in your repository. #### Github Action -To use the `generte_labels` tool with Github Action: +To use the `generate_labels` tool with Github Action: - Add the following file to your repository under `env` section in `.github/workflows/pr_agent.yml` - Comma separated list of custom labels and their descriptions