From 050278ce4019c75b531ceaf2dbf826a4d574e323 Mon Sep 17 00:00:00 2001 From: Jan Sebastian Siwy Date: Tue, 24 Sep 2024 11:08:52 +0200 Subject: [PATCH] Add Release Drafter Introducing Release Drafter to this repository and replace `CHANGELOG.md` --- .github/release-drafter.yml | 20 ++++++++++++++++++++ .github/workflows/release-drafter.yml | 19 +++++++++++++++++++ CHANGELOG.md | 5 +++++ 3 files changed, 44 insertions(+) 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..775f7ab --- /dev/null +++ b/.github/release-drafter.yml @@ -0,0 +1,20 @@ +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 00b003a..f298fe6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +# NOTE: CHANGELOG.md is deprecated + +After the release of v1.1.0, please see the [GitHub release notes](https://github.com/babbel/terraform-aws-sns-to-rollbar/releases) +for the module in order to view the most up-to-date changes. + # CHANGELOG.md ## v1.1.0