From 1c089d4e4ce32c23e001d10512ffdae04537eb31 Mon Sep 17 00:00:00 2001 From: Michael Thomas Date: Thu, 10 Oct 2024 11:10:57 -0400 Subject: [PATCH] ci: configure release-please --- .github/workflows/release-please.yml | 18 ++++++++++++++++++ .release-please-manifest.json | 1 + release-please-config.json | 14 ++++++++++++++ 3 files changed, 33 insertions(+) create mode 100644 .github/workflows/release-please.yml create mode 100644 .release-please-manifest.json create mode 100644 release-please-config.json diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..09cfe24 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,18 @@ +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@v4 + with: + token: ${{ secrets.RELEASE_PLEASE_TOKEN }} diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..0967ef4 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1 @@ +{} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..c44cd95 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,14 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/refs/heads/main/schemas/config.json", + "packages": { + ".": { + "release-type": "rust" + }, + "packages/critters": { + "release-type": "node" + }, + "packages/astro": { + "release-type": "node" + } + } +}