From 2a9f87b763813102f722247f5fb215d9682e9481 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Wendt?= Date: Thu, 25 Jul 2024 12:24:53 +0200 Subject: [PATCH] Add Release Drafter --- .github/release-drafter.yml | 21 +++++++++++++++++++++ .github/workflows/release-drafter.yml | 19 +++++++++++++++++++ CHANGELOG.md | 5 ++++- 3 files changed, 44 insertions(+), 1 deletion(-) create mode 100644 .github/release-drafter.yml create mode 100644 .github/workflows/release-drafter.yml diff --git a/.github/release-drafter.yml b/.github/release-drafter.yml new file mode 100644 index 0000000..b8e3371 --- /dev/null +++ b/.github/release-drafter.yml @@ -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' diff --git a/.github/workflows/release-drafter.yml b/.github/workflows/release-drafter.yml new file mode 100644 index 0000000..f9be488 --- /dev/null +++ b/.github/workflows/release-drafter.yml @@ -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 }} diff --git a/CHANGELOG.md b/CHANGELOG.md index 8c1f3f7..3f52071 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ -# Changelog +# NOTE: CHANGELOG.md is deprecated + +After the release of v2.1.0, please see the [GitHub release notes](https://github.com/babbel/terraform-aws-secretsmanager-for-rollbar-access-tokens/releases) +for the module in order to view the most up-to-date changes. ## v2.1.0