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 ba7fe54..6b06492 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,7 @@ -# Changelog +# NOTE: CHANGELOG.md is deprecated + +After the release of v1.1.1, please see the [GitHub release notes](https://github.com/babbel/terraform-aws-s3-bucket-with-cross-region-replication/releases) +for the module in order to view the most up-to-date changes. ## v1.1.1