From bc726a81358e625399f13a68039b2c7e02efb495 Mon Sep 17 00:00:00 2001 From: Rick Staa Date: Tue, 16 Apr 2024 08:01:45 +0200 Subject: [PATCH] ci(ai): fix incorrect labels (#3012) * ci(ai): fix incorrect labels This commit fixed the labels that were specified in the Issue Templates to the one found in the repository. * ci: rename labeler and remove trailing whitespace --- .github/ISSUE_TEMPLATE/bug_report_ai_video.yml | 4 ++-- .github/ISSUE_TEMPLATE/feature_request_ai.yml | 4 ++-- .github/labeler.yml | 2 +- .github/workflows/{issue-labeler.yml => labeler.yml} | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) rename .github/workflows/{issue-labeler.yml => labeler.yml} (95%) diff --git a/.github/ISSUE_TEMPLATE/bug_report_ai_video.yml b/.github/ISSUE_TEMPLATE/bug_report_ai_video.yml index b992554a..b8a7c25d 100644 --- a/.github/ISSUE_TEMPLATE/bug_report_ai_video.yml +++ b/.github/ISSUE_TEMPLATE/bug_report_ai_video.yml @@ -1,8 +1,8 @@ name: AI Bug report description: Create a report to help us improve. labels: - - "bug" - - "ai" + - "type: bug" + - "AI" body: - type: markdown attributes: diff --git a/.github/ISSUE_TEMPLATE/feature_request_ai.yml b/.github/ISSUE_TEMPLATE/feature_request_ai.yml index 22ddfa71..0c708f11 100644 --- a/.github/ISSUE_TEMPLATE/feature_request_ai.yml +++ b/.github/ISSUE_TEMPLATE/feature_request_ai.yml @@ -1,8 +1,8 @@ name: AI Feature request description: Suggest an idea for this project. labels: - - "enhancement" - - "ai" + - "type: feature" + - "AI" body: - type: markdown attributes: diff --git a/.github/labeler.yml b/.github/labeler.yml index 4e219d6f..2e2c7b28 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -1,2 +1,2 @@ -ai: +AI: - base-branch: "ai-video" diff --git a/.github/workflows/issue-labeler.yml b/.github/workflows/labeler.yml similarity index 95% rename from .github/workflows/issue-labeler.yml rename to .github/workflows/labeler.yml index 92a71866..0c45d708 100644 --- a/.github/workflows/issue-labeler.yml +++ b/.github/workflows/labeler.yml @@ -18,7 +18,7 @@ jobs: add-labels: "status: triage" repo-token: ${{ secrets.GITHUB_TOKEN }} ignore-if-assigned: false - + label_pull_requests: if: ${{ github.event_name == 'pull_request' }} runs-on: ubuntu-latest @@ -26,4 +26,4 @@ jobs: contents: read pull-requests: write steps: - - uses: actions/labeler@v5 + - uses: actions/labeler@v5