diff --git a/.gitea/release-drafter.yml b/.gitea/release-drafter.yml new file mode 100644 index 0000000..4593470 --- /dev/null +++ b/.gitea/release-drafter.yml @@ -0,0 +1,30 @@ +name-template: 'v$RESOLVED_VERSION 🌈' +tag-template: 'v$RESOLVED_VERSION' + +version-resolver: + major: + labels: + - 'ReleaseTarget/Major' + - 'Kind/Breaking' + minor: + labels: + - 'ReleaseTarget/Minor' + patch: + labels: + - 'ReleaseTarget/Patch' + default: patch + +categories: + - title: '🚀 Features' + labels: + - 'Kind/Breaking' + - 'Kind/Feature' + - 'Kind/Enhancement' + - title: '🐛 Bug Fixes' + labels: + - 'Kind/Bug' + - 'Kind/Security' + - title: '🧰 Maintenance' + labels: + - 'Kind/Documentation' + - 'Kind/CI' \ No newline at end of file diff --git a/.gitea/workflows/draft-release.yml b/.gitea/workflows/draft-release.yml new file mode 100644 index 0000000..9e5e807 --- /dev/null +++ b/.gitea/workflows/draft-release.yml @@ -0,0 +1,17 @@ +on: + push: + branches: + - main + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: Setup Go + uses: actions/setup-go@v3 + with: + go-version: '1.20' + + - name: Use Go Action + id: use-go-action + uses: https://git.beisel.it/florian/gitea-release-drafter@main diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..47e1ff2 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,30 @@ +# Changelog + +All notable changes to this project will be documented in this file. + +The format is based on [Keep a Changelog], +and this project adheres to [Semantic Versioning]. + +## [Unreleased] + +### Changed + +- Change executable name in the Docker image to `gitea-register-account-bot` + +### Security + +- Use non root user in the Docker image + +## [0.0.1] - 2024-01-10 + +### Added + +- Added gitea account registration via !register + + +[keep a changelog]: https://keepachangelog.com/en/1.0.0/ +[semantic versioning]: https://semver.org/spec/v2.0.0.html + + +[unreleased]: https://git.beisel.it/beisel.org/gitea-register-account-bot/compare/v0.0.1...HEAD +[0.0.1]: https://git.beisel.it/beisel.org/gitea-register-account-bot/releases/tag/v0.0.1