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