From 07ef7cde1c6fe03750eaeb645eb23e370d69379d Mon Sep 17 00:00:00 2001 From: Horst Gutmann Date: Wed, 9 Oct 2024 12:03:22 +0200 Subject: [PATCH] chore(ci): Add release-please for release-automation --- .github/workflows/release-please.yml | 19 +++++++++ .release-please-manifest.json | 1 + .release-please.json | 61 ++++++++++++++++++++++++++++ 3 files changed, 81 insertions(+) create mode 100644 .github/workflows/release-please.yml create mode 100644 .release-please-manifest.json create mode 100644 .release-please.json diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 000000000..893e715ed --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,19 @@ +on: + push: + branches: + - main + +permissions: + contents: write + pull-requests: write + +name: release-please + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # v4.1.3 + with: + config-file: .release-please.json + manifest-file: .release-please-manifest.json diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 000000000..0967ef424 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1 @@ +{} diff --git a/.release-please.json b/.release-please.json new file mode 100644 index 000000000..e935e16ff --- /dev/null +++ b/.release-please.json @@ -0,0 +1,61 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "changelog-sections": [ + { + "section": "🎉 Features", + "type": "feat" + }, + { + "section": "🐛 Bug Fixes", + "type": "fix" + }, + { + "section": "⚡ Performance Improvements", + "type": "perf" + }, + { + "section": "🔗 Dependencies", + "type": "deps" + }, + { + "section": "📝 Documentation", + "type": "docs" + }, + { + "section": "🏗️ Build System", + "type": "build" + }, + { + "section": "🤖 Continuous Integration", + "type": "ci" + }, + { + "section": "🔧 Miscellaneous Chores", + "type": "chore" + }, + { + "section": "⏪ Reverts", + "type": "revert" + }, + { + "section": "✅ Tests", + "type": "test" + }, + { + "section": "💄 Style", + "type": "style" + }, + { + "section": "♻️ Code Refactoring", + "type": "refactor" + } + ], + "draft-pull-request": true, + "include-v-in-tag": true, + "packages": { + ".": { + "package-name": "tanka" + } + }, + "release-type": "go" +}