Skip to content

Commit

Permalink
add release drafter workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
Alfredo Deza committed Dec 1, 2020
1 parent d9cf567 commit c95b6a3
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/release-drafter.yml
@@ -0,0 +1,28 @@
name-template: '$RESOLVED_VERSION'
tag-template: '$RESOLVED_VERSION'
categories:
- title: '🚀 Features'
labels:
- 'feature'
- 'enhancement'
- title: '🐛 Bug Fixes'
labels:
- 'fix'
- 'bugfix'
- 'bug'
change-template: '- $TITLE (#$NUMBER)'
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
template: |
## New in scan-action $RESOLVED_VERSION
$CHANGES
15 changes: 15 additions & 0 deletions .github/workflows/release-drafter.yml
@@ -0,0 +1,15 @@
name: Release Drafter

on:
push:
branches:
- main

jobs:
update_release_draft:
runs-on: ubuntu-latest
steps:
- name: Draft release notes
uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit c95b6a3

Please sign in to comment.