You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by ma...@apache.org on 2024/01/30 02:50:11 UTC

(superset) 02/02: feat: configuring an extensible PR auto-labeler

This is an automated email from the ASF dual-hosted git repository.

maximebeauchemin pushed a commit to branch labeler
in repository https://gitbox.apache.org/repos/asf/superset.git

commit 38f8a39a0c9ac44f75435a0328dd8d9c2b220c9a
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Mon Jan 29 18:49:55 2024 -0800

    feat: configuring an extensible PR auto-labeler
---
 .github/labeler.yml        | 16 ++++++++++++++++
 superset/migrations/env.py |  1 +
 2 files changed, 17 insertions(+)

diff --git a/.github/labeler.yml b/.github/labeler.yml
index 555f217cf9..0557e4277a 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -2,3 +2,19 @@
 - changed-files:
   - any-glob-to-any-file:
     - 'superset/migrations/**'
+
+"dependencies:python":
+- changed-files:
+  - any-glob-to-any-file:
+    - 'superset/requirements/**'
+
+"dependencies:npm":
+- changed-files:
+  - any-glob-to-any-file:
+    - 'superset-frontend/package.json'
+    - 'superset-frontend/package-lock.json'
+
+"doc":
+- changed-files:
+  - any-glob-to-any-file:
+    - 'docs/**'
diff --git a/superset/migrations/env.py b/superset/migrations/env.py
index 130fb367fb..ab9dea7855 100755
--- a/superset/migrations/env.py
+++ b/superset/migrations/env.py
@@ -14,6 +14,7 @@
 # KIND, either express or implied.  See the License for the
 # specific language governing permissions and limitations
 # under the License.
+
 import logging
 import urllib.parse
 from logging.config import fileConfig