Skip to content

Commit

Permalink
Release drafter/updates (#952)
Browse files Browse the repository at this point in the history
* make token permissions more explicit

* re-add contributor mentions to releases

* make breaking-changes trigger major releases

* update change title format

* add deprecations/releases section
  • Loading branch information
briantist committed Mar 4, 2023
1 parent 039dd3d commit 56a5810
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ categories:
- title: '💥 Breaking Changes'
labels:
- 'breaking-change'
- title: '📢 Deprecations / Announcements'
labels:
- 'deprecation'
- 'announcement'
- title: '🚀 Features'
labels:
- 'enhancement'
Expand All @@ -20,11 +24,12 @@ categories:
- title: '🧰 Miscellaneous'
labels:
- 'misc'
change-template: '- $TITLE. GH-$NUMBER'
change-template: '- $TITLE (GH-$NUMBER)'
version-resolver:
major:
labels:
- 'major'
- 'breaking-change'
minor:
labels:
- 'minor'
Expand All @@ -35,3 +40,5 @@ version-resolver:
template: |
$CHANGES
Thanks to $CONTRIBUTORS for their lovely contributions.
3 changes: 2 additions & 1 deletion .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
update_release_draft:
permissions:
contents: write
runs-on: ubuntu-20.04
pull-requests: read
runs-on: ubuntu-latest
steps:
- name: Run release-drafter action
id: release-drafter
Expand Down

0 comments on commit 56a5810

Please sign in to comment.