Skip to content

Commit

Permalink
Merge pull request #13 from babbel/release-drafter
Browse files Browse the repository at this point in the history
Add Release Drafter
  • Loading branch information
awendt authored Jul 25, 2024
2 parents 2322c51 + 2c40343 commit 9c64789
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.2.0, please see the [GitHub release notes](https://github.com/babbel/terraform-aws-iam-role-for-github-repository/releases)
for the module in order to view the most up-to-date changes.

## v1.2.0

Expand Down

0 comments on commit 9c64789

Please sign in to comment.