Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 23 additions & 0 deletions .github/release-drafter-config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name-template: "v$NEXT_MINOR_VERSION 🌈"
tag-template: "v$NEXT_MINOR_VERSION"
categories:
- title: "🚀 Features"
labels:
- "✨ Enhancement"
- "⚒ Refactor"
- title: "🐛 Bug Fixes"
labels:
- "🐞 Bug"
exclude-labels:
- "📄 Documentation"
- "🌐 DevOps"
- "💄 UI/UX"
- "🏛 Structure"
- "💖 Question"
- "☂️ Umbrella"
change-template: "- $TITLE (#$NUMBER)"
change-title-escapes: '\<*_&'
template: |
## Changes

$CHANGES
6 changes: 2 additions & 4 deletions .github/workflows/Deployment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@ name: Deployment
on:
push:
branches:
- cluster_main
- main
tags:
- "v*"
- main-ci-cd-test
# - main

jobs:
build:
Expand Down
35 changes: 35 additions & 0 deletions .github/workflows/Release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
# Author by chanhihi
# Date 2023.08.22

name: Release Drafter

on:
pull_request:
branches:
- main-ci-cd-test
types:
- closed

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- name: Tag
if: success()
id: tag_version
uses: mathieudutour/github-tag-action@v6.1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}

- name: Create a GitHub release
uses: ncipollo/release-action@v1
with:
tag: ${{ steps.tag_version.outputs.new_tag }}
name: Release ${{ steps.tag_version.outputs.new_tag }}
body: ${{ steps.tag_version.outputs.changelog }}

- uses: release-drafter/release-drafter@v5
with:
config-name: release-drafter-config.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}