Skip to content

Commit

Permalink
Add Release Drafter
Browse files Browse the repository at this point in the history
  • Loading branch information
awendt committed Jul 25, 2024
1 parent bf6f14a commit dc81c3b
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 1 deletion.
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@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
5 changes: 4 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
# Changelog
# NOTE: CHANGELOG.md is deprecated

After the release of v1.3.0, please see the [GitHub release notes](https://github.com/babbel/terraform-aws-secretsmanager-for-database-url/releases)
for the module in order to view the most up-to-date changes.

## v1.3.0

Expand Down

0 comments on commit dc81c3b

Please sign in to comment.