From ab074c9b982e242178896edea7fc6d7926fdb375 Mon Sep 17 00:00:00 2001 From: silverwind Date: Sun, 8 Oct 2023 15:11:26 +0200 Subject: [PATCH] Tweak labeler config (#27502) Alternative to https://github.com/go-gitea/gitea/pull/27439. Removes a few spammy labels, and disables `sync-labels` which make it never remove labels (which is default behaviour). --- .github/labeler.yml | 13 ------------- .github/workflows/pull-labeler.yml | 1 - 2 files changed, 14 deletions(-) diff --git a/.github/labeler.yml b/.github/labeler.yml index 06a5cd99d..d9a5782f7 100644 --- a/.github/labeler.yml +++ b/.github/labeler.yml @@ -6,10 +6,6 @@ kind/ui: - "web_src/**/*" - all: ["templates/**", "!templates/swagger/v1_json.tmpl"] -kind/api: - - "templates/swagger/v1_json.tmpl" - - "routers/api/**" - kind/build: - "Makefile" - "Dockerfile" @@ -17,15 +13,6 @@ kind/build: - "docker/**" - "webpack.config.js" -theme/package-registry: - - "modules/packages/**" - - "services/packages/**" - - "routers/api/packages/**" - - "routers/web/shared/packages/**" - -kind/cli: - - "cmd/**" - kind/lint: - ".eslintrc.yaml" - ".golangci.yml" diff --git a/.github/workflows/pull-labeler.yml b/.github/workflows/pull-labeler.yml index c62142b9d..edd2f6d16 100644 --- a/.github/workflows/pull-labeler.yml +++ b/.github/workflows/pull-labeler.yml @@ -18,4 +18,3 @@ jobs: - uses: actions/labeler@v4 with: dot: true - sync-labels: true