This is an automated email from the ASF dual-hosted git repository.
yuanz pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-teaclave-trustzone-sdk.git
The following commit(s) were added to refs/heads/main by this push:
new 86e1e94 ci: add workflow to draft release notes
86e1e94 is described below
commit 86e1e94b09d9c097fa2b5350a2d56f1a988053dd
Author: Yuan Zhuang <[email protected]>
AuthorDate: Fri Jun 13 16:28:47 2025 +0800
ci: add workflow to draft release notes
Use Release Drafter to automatically generate release notes.
Signed-off-by: Yuan Zhuang <[email protected]>
Acked-by: Zehui Chen <[email protected]>
---
.github/release-drafter.yml | 51 +++++++++++++++++++++++++++++++++++++
.github/workflows/release-notes.yml | 39 ++++++++++++++++++++++++++++
2 files changed, 90 insertions(+)
diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml
new file mode 100644
index 0000000..f535f3c
--- /dev/null
+++ b/.github/release-drafter.yml
@@ -0,0 +1,51 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name-template: 'Apache Teaclave TrustZone SDK (incubating) v$RESOLVED_VERSION'
+
+categories:
+ - title: "🚀 Features"
+ labels:
+ - "feature"
+ - 'enhancement'
+ - title: "📚 Examples"
+ labels:
+ - "example"
+ - title: "⚙️ Refactoring"
+ labels:
+ - "refactor"
+ - title: "🔧 Build / CI"
+ labels:
+ - "build"
+ - "ci"
+ - title: "📦 Dependencies"
+ labels:
+ - "dependencies"
+ - title: "🐛 Bug Fixes"
+ labels:
+ - "bug"
+ - title: "📝 Documentation"
+ labels:
+ - "documentation"
+
+change-template: "- $TITLE (#$NUMBER) by @$AUTHOR"
+
+template: |
+ ## What's Changed
+
+ $CHANGES
+
diff --git a/.github/workflows/release-notes.yml
b/.github/workflows/release-notes.yml
new file mode 100644
index 0000000..89073b8
--- /dev/null
+++ b/.github/workflows/release-notes.yml
@@ -0,0 +1,39 @@
+# Licensed to the Apache Software Foundation (ASF) under one
+# or more contributor license agreements. See the NOTICE file
+# distributed with this work for additional information
+# regarding copyright ownership. The ASF licenses this file
+# to you under the Apache License, Version 2.0 (the
+# "License"); you may not use this file except in compliance
+# with the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing,
+# software distributed under the License is distributed on an
+# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+# KIND, either express or implied. See the License for the
+# specific language governing permissions and limitations
+# under the License.
+
+name: Draft Release Notes
+
+on:
+ workflow_dispatch:
+ inputs:
+ release_version:
+ description: 'Version to release (e.g., 0.5.0)'
+ required: true
+
+jobs:
+ draft_release:
+ permissions:
+ contents: write
+ pull-requests: read
+ runs-on: ubuntu-latest
+ steps:
+ - name: Run Release Drafter
+ uses: release-drafter/release-drafter@v6
+ with:
+ version: ${{ github.event.inputs.release_version }}
+ env:
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]