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

alexstocks pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/dubbo-go.git


The following commit(s) were added to refs/heads/develop by this push:
     new 556c26ded ci: add lables (#2811)
556c26ded is described below

commit 556c26dede4fa9a837ae4efffe7ca722da820a6a
Author: baerwang <[email protected]>
AuthorDate: Wed Mar 26 13:51:22 2025 +0800

    ci: add lables (#2811)
---
 .github/release-drafter.yml           | 68 +++++++++++++++++++++++++++++++++++
 .github/workflows/release-drafter.yml | 22 ++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml
new file mode 100644
index 000000000..67042f512
--- /dev/null
+++ b/.github/release-drafter.yml
@@ -0,0 +1,68 @@
+name-template: '$RESOLVED_VERSION'
+tag-template: '$RESOLVED_VERSION'
+categories:
+  - title: 'โ— Breaking Changes:'
+    labels:
+      - 'โ— Breaking Change'
+  - title: '๐Ÿš€ New Features:'
+    labels:
+      - 'โœ๏ธ Feature'
+  - title: '๐Ÿ› Fixes:'
+    labels:
+      - 'โ˜ข๏ธ Bug'
+  - title: '๐Ÿ“š Documentation:'
+    labels:
+      - '๐Ÿ“’ Documentation'
+  - title: '๐Ÿงน Updates:'
+    labels:
+      - '๐Ÿงน Updates'
+      - '๐Ÿค– Dependencies'
+change-template: '- $TITLE (#$NUMBER)'
+change-title-escapes: '\<*_&'
+exclude-contributors:
+  - dependabot
+  - dependabot[bot]
+version-resolver:
+  major:
+    labels:
+      - 'โ— Breaking Change'
+  minor:
+    labels:
+      - 'โœ๏ธ Feature'
+  patch:
+    labels:
+      - '๐Ÿ“’ Documentation'
+      - 'โ˜ข๏ธ Bug'
+      - '๐Ÿค– Dependencies'
+      - '๐Ÿงน Updates'
+  default: patch
+template: |
+  $CHANGES
+  
+  Version tags:
+  - `https://github.com/$OWNER/$REPOSITORY/releases/tag/v$RESOLVED_VERSION`
+  
+  **๐Ÿ“’ Documentation**: dubbo-go
+  
+  **Full Changelog**: 
https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
+  
+  Thanks to $CONTRIBUTORS for making this release possible.
+
+autolabeler:
+  - label: '๐Ÿ“’ Documentation'
+    files:
+      - '*.md'
+    title:
+      - '/(docs|doc:|\[doc\]|typos|comment|documentation)/i'
+  - label: 'โ˜ข๏ธ Bug'
+    title:
+      - '/(fix|race|bug|missing|correct)/i'
+  - label: '๐Ÿงน Updates'
+    title:
+      - '/(improve|update|update|refactor|deprecated|remove|unused|test)/i'
+  - label: '๐Ÿค– Dependencies'
+    title:
+      - '/(bump|dependencies)/i'
+  - label: 'โœ๏ธ Feature'
+    title:
+      - '/(feature|feat|create|implement|add)/i'
diff --git a/.github/workflows/release-drafter.yml 
b/.github/workflows/release-drafter.yml
new file mode 100644
index 000000000..bc3de4d61
--- /dev/null
+++ b/.github/workflows/release-drafter.yml
@@ -0,0 +1,22 @@
+name: Release Drafter
+
+on:
+  push:
+    branches:
+      - unstable
+  pull_request_target:
+    types: [ opened, reopened, synchronize ]
+
+permissions:
+  contents: read
+
+jobs:
+  update_release_draft:
+    permissions:
+      contents: write
+      pull-requests: write
+    runs-on: ubuntu-latest
+    steps:
+      - uses: release-drafter/release-drafter@v6
+        env:
+          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
\ No newline at end of file

Reply via email to