Skip to content

Commit

Permalink
Update release-drafter configuration and workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
klaasnicolaas committed Apr 8, 2024
1 parent 353d611 commit 2d2fe7f
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 5 deletions.
8 changes: 5 additions & 3 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
name-template: "v$RESOLVED_VERSION"
tag-template: "$RESOLVED_VERSION"
tag-template: "v$RESOLVED_VERSION"
change-template: "- #$NUMBER $TITLE @$AUTHOR"
sort-direction: ascending

Expand All @@ -27,7 +27,7 @@ categories:
labels:
- "documentation"
- title: "⬆️ Dependency updates"
collapse-after: 1
collapse-after: 5
labels:
- "dependencies"

Expand All @@ -53,6 +53,8 @@ version-resolver:
default: patch

template: |
## Whats changed
## What's changed
$CHANGES
**Full Changelog**: https://github.com/$OWNER/$REPOSITORY/compare/$PREVIOUS_TAG...v$RESOLVED_VERSION
Original file line number Diff line number Diff line change
@@ -1,17 +1,22 @@
---
name: Release Drafter

# yamllint disable-line rule:truthy
on:
push:
branches:
- master
- main
workflow_dispatch:

jobs:
update_release_draft:
name: ✏️ Draft release
runs-on: ubuntu-latest
permissions:
contents: write
pull-requests: read
steps:
- name: 🚀 Run Release Drafter
uses: release-drafter/release-drafter@v5.20.1
uses: release-drafter/release-drafter@v6.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 2d2fe7f

Please sign in to comment.