-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #167 from salesforce/add-release-drafter
Add release drafter for good times
- Loading branch information
Showing
2 changed files
with
77 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
# Configuration for Release Drafter: https://github.com/toolmantim/release-drafter | ||
name-template: $NEXT_MINOR_VERSION | ||
tag-template: dockerfile-image-update-$NEXT_MINOR_VERSION | ||
version-template: $MAJOR.$MINOR.$PATCH | ||
|
||
# Emoji reference: https://gitmoji.carloscuesta.me/ | ||
categories: | ||
- title: ":boom: Breaking changes" | ||
labels: | ||
- breaking | ||
- title: 🚨 Removed | ||
label: removed | ||
- title: ":tada: Major features and improvements" | ||
labels: | ||
- major-enhancement | ||
- major-rfe | ||
- title: 🐛 Major bug fixes | ||
labels: | ||
- major-bug | ||
- title: ⚠️ Deprecated | ||
label: deprecated | ||
- title: 🚀 New features and improvements | ||
labels: | ||
- enhancement | ||
- feature | ||
- rfe | ||
- title: 🐛 Bug Fixes | ||
labels: | ||
- bug | ||
- fix | ||
- bugfix | ||
- regression | ||
- title: ":construction_worker: Changes for plugin developers" | ||
labels: | ||
- developer | ||
# Default label used by Dependabot | ||
- title: 📦 Dependency updates | ||
label: dependencies | ||
- title: 📝 Documentation updates | ||
label: documentation | ||
- title: 👻 Maintenance | ||
labels: | ||
- chore | ||
- internal | ||
- title: 🚦 Tests | ||
labels: | ||
- test | ||
- tests | ||
exclude-labels: | ||
- reverted | ||
- no-changelog | ||
- skip-changelog | ||
- invalid | ||
|
||
template: | | ||
<!-- Optional: add a release summary here --> | ||
$CHANGES | ||
replacers: | ||
- search: '/CVE-(\d{4})-(\d+)/g' | ||
replace: 'https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-$1-$2' | ||
- search: '@dependabot-preview' | ||
replace: '@dependabot' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
name: Release Drafter | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
update_release_draft: | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Drafts your next Release notes as Pull Requests are merged into "master" | ||
- uses: release-drafter/release-drafter@v5 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |