Skip to content

Commit

Permalink
try out release drafter
Browse files Browse the repository at this point in the history
  • Loading branch information
evanchooly committed Aug 31, 2023
1 parent bfd6111 commit 0eedfdb
Show file tree
Hide file tree
Showing 2 changed files with 49 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name-template: $NEXT_PATCH_VERSION
tag-template: $NEXT_PATCH_VERSION
template: |
# What's Changed
$CHANGES
categories:
- title: ⚠️ Breaking API changes
label: type/breaking-api-change
- title: 🚀 Features & Enhancements
labels:
- type/feature
- type/enhancement
- title: ☠️ Deprecations
label: type/deprecation
- title: 🐛 Bug Fixes
label: type/bug
- title: 📖 Documentation
label: type/docs
- title: 🧹 Housekeeping
labels:
- type/housekeeping
- type/test-improvement
- title: 📦 Dependency updates
label: dependencies
collapse-after: 5
23 changes: 23 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name: Release Drafter

on:
push:
pull_request:
types: [opened, reopened, synchronize]
workflow_dispatch:

permissions:
contents: read

jobs:
update_release_draft:
permissions:
contents: write # for release-drafter/release-drafter to create a github release
pull-requests: write # for release-drafter/release-drafter to add label to PR
if: github.repository == 'evanchooly/graven'
runs-on: ubuntu-latest
steps:
- uses: release-drafter/[email protected]
# - uses: release-drafter/release-drafter@65c5fb495d1e69aa8c08a3317bc44ff8aabe9772 # v5.19.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0eedfdb

Please sign in to comment.