From 6eca4c10181ce61b42836003ac2ebdcd3e471f65 Mon Sep 17 00:00:00 2001 From: Jennifer Power Date: Fri, 2 Aug 2024 13:29:04 -0400 Subject: [PATCH] chore: add an initial release please configuration and workflow Signed-off-by: Jennifer Power --- .github/workflows/release.yml | 16 ++++++++++++++++ .release-please-manifest.json | 3 +++ release-please-config.json | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 .github/workflows/release.yml create mode 100644 .release-please-manifest.json create mode 100644 release-please-config.json diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 00000000..0c5b7cac --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,16 @@ +name: Draft a Trestle-Bot release PR + +on: + push: + branches: + - main + workflow_dispatch: + +jobs: + release-please: + runs-on: ubuntu-latest + permissions: + contents: write + pull-requests: write + steps: + - uses: googleapis/release-please-action@7987652d64b4581673a76e33ad5e98e3dd56832f # 4.1.3 \ No newline at end of file diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 00000000..04e745b4 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.10.1" +} \ No newline at end of file diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 00000000..20a4b9e2 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,33 @@ +{ + "packages": { + ".": { + "release-type": "python", + "include-v-in-tag": true, + "bump-minor-pre-major": true, + "draft": true, + "changelog-path": "CHANGELOG.md", + "changelog-sections": [ + { + "type": "feat", + "section": "Features", + "hidden": false + }, + { + "type": "fix", + "section": "Bug Fixes", + "hidden": false + }, + { + "type": "chore", + "section": "Maintenance", + "hidden": false + }, + { + "ci": "ci", + "section": "Infrastructure", + "hidden": false + } + ] + } + } +} \ No newline at end of file