Skip to content

Commit

Permalink
Merge pull request #76 from babbel/release-drafter
Browse files Browse the repository at this point in the history
Add Release Drafter
  • Loading branch information
awendt authored Mar 11, 2024
2 parents 088520d + ce981a8 commit 7214e62
Show file tree
Hide file tree
Showing 3 changed files with 45 additions and 0 deletions.
21 changes: 21 additions & 0 deletions .github/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
tag-prefix: v
name-template: 'v$RESOLVED_VERSION'
tag-template: 'v$RESOLVED_VERSION'
template: |
## What’s Changed
$CHANGES
version-resolver:
major:
labels:
- 'major'
minor:
labels:
- 'minor'
patch:
labels:
- 'patch'
default: patch
categories:
- title: '🤖 Dependencies'
label: 'dependencies'
19 changes: 19 additions & 0 deletions .github/workflows/release-drafter.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Release Drafter

on:
push:
branches:
- main

permissions:
contents: write # required to create a github release
pull-requests: read

jobs:
update_release_draft:
runs-on: ubuntu-22.04
steps:
# Drafts your next Release notes as Pull Requests are merged into "main"
- uses: release-drafter/release-drafter@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# NOTE: CHANGELOG.md is deprecated

After the release of v1.0.3, please see the [GitHub release notes](https://github.com/babbel/sync-repository-projects/releases)
for the action in order to view the most up-to-date changes.

## [1.0.3] - 2024-02-29

- undici dependency: security release
Expand Down

0 comments on commit 7214e62

Please sign in to comment.