Skip to content

Colota - Android GPS Location tracker

Fix labeler glob patterns and add semver version resolver to release drafter

Max Dietrich2aace46acc26
diff --git a/.github/labeler.yml b/.github/labeler.yml
index c8ca12c5..c682f544 100644
--- a/.github/labeler.yml
+++ b/.github/labeler.yml
@@ -2,45 +2,31 @@
# CI
# ============================
ci:
- - '.github/workflows/**'
+ - '.github/**'
# ============================
# Android / Native Kotlin
# ============================
android:
- - "android/**"
+ - 'android/**'
# ============================
-# iOS / Swift / Obj-C
-# ============================
-ios:
- - 'ios/**'
-
-# ============================
-# React Native / JS / TS
+# React Native / TypeScript
# ============================
frontend:
- 'src/**'
- - 'js/**'
- - '*.js'
- '*.ts'
- '*.tsx'
- - '*.jsx'
# ============================
-# Tests / Unit / Integration
+# Tests
# ============================
tests:
- - 'tests/**'
- - '__tests__/**'
- - '*.spec.ts'
- - '*.test.ts'
- - '*.test.js'
- - '*.spec.js'
+ - '**/__tests__/**'
+ - '**/*.test.ts'
# ============================
# Documentation
# ============================
documentation:
- - '*.md'
- - 'README.md'
+ - '**/*.md'
diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml
index 9eea4fe3..e533b0bf 100644
--- a/.github/release-drafter.yml
+++ b/.github/release-drafter.yml
@@ -1,5 +1,23 @@
-name-template: 'v$NEXT_PATCH_VERSION 🌍'
-tag-template: 'v$NEXT_PATCH_VERSION'
+name-template: 'v$RESOLVED_VERSION 🌍'
+tag-template: 'v$RESOLVED_VERSION'
+version-resolver:
+ major:
+ labels:
+ - major
+ - breaking
+ minor:
+ labels:
+ - enhancement
+ - feature
+ patch:
+ labels:
+ - bug
+ - fix
+ - refactor
+ - maintenance
+ - tests
+ - documentation
+ default: patch
categories:
- title: 'πŸš€ New Features'
labels: