Skip to content

Commit

Permalink
adding release drafter
Browse files Browse the repository at this point in the history
  • Loading branch information
piyushdatazip committed Mar 18, 2023
1 parent 72a461b commit 6c0278c
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name-template: "DZ-Cloud v$NEXT_PATCH_VERSION"
tag-template: "v$NEXT_PATCH_VERSION"
categories:
- title: "πŸš€ Features"
labels:
- "kind/feature"
- "kind/enhancement"
- title: "πŸ› Bug Fixes"
labels:
- "kind/fix"
- "kind/bugfix"
- "kind/bug"
- title: "🧰 Maintenance"
labels:
- "kind/chore"
- "area/ci"
- "area/tests"
- title: πŸ“– Documentation
label: area/docs
- title: πŸ”’ Security
label: security
change-template: "- $TITLE @$AUTHOR (#$NUMBER)"
template: |
## What's New
## πŸ”€ General
$CHANGES
## πŸ‘¨πŸ½β€πŸ’» Contributors
Thank you to our contributors for making this release possible:
$CONTRIBUTORS
autolabeler:
- label: "area/ci"
branch:
- "/.github/"
26 changes: 26 additions & 0 deletions .github/workflows/release-drafter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Release Drafter

on:
push:
branches:
- master
paths-ignore:
- '.github/**'

permissions:
contents: read

jobs:
update_release_draft:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-22.04
steps:
- name: Drafting release
id: release_drafter
uses: release-drafter/release-drafter@v5
with:
config-name: release-drafter.yml
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6c0278c

Please sign in to comment.