Skip to content

Commit

Permalink
Add release-drafter (#308)
Browse files Browse the repository at this point in the history
Introduce use of the release-drafter
action to the repository. This addition
should help us with creating release notes.

Reference the common and reusable workflow
file from the organization repository.
  • Loading branch information
mikemckiernan authored May 16, 2022
1 parent 1cde90a commit 19d0696
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
categories:
- title: '⚠ Breaking Changes'
labels:
- 'breaking'
- title: '🐜 Bug Fixes'
labels:
- 'bug'
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: '📄 Documentation'
labels:
- 'documentation'
- 'examples'
- title: '🔧 Maintenance'
labels:
- 'build'
- 'dependencies'
- 'chore'
- 'ci'
change-template: '- $TITLE @$AUTHOR (#$NUMBER)'
exclude-labels:
- 'skip-changelog'
template: |
## What’s Changed
$CHANGES
19 changes: 19 additions & 0 deletions .github/workflows/release-drafter.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: release-drafter

on:
push:
# branches to consider in the event; optional, defaults to all
branches:
- "main"
# pull_request event is required only for autolabeler
pull_request:
# Only following types are handled by the action, but one can default to all as well
types: [opened, reopened, synchronize]
# pull_request_target event is required for autolabeler to support PRs from forks
# pull_request_target:
# types: [opened, reopened, synchronize]
workflow_dispatch:

jobs:
update_release_draft:
uses: nvidia-merlin/.github/.github/workflows/release-drafter-common.yaml@main

0 comments on commit 19d0696

Please sign in to comment.