diff --git a/.github/workflows/release-please-mesosphere.yaml b/.github/workflows/release-please-mesosphere.yaml new file mode 100644 index 0000000..3ee6b54 --- /dev/null +++ b/.github/workflows/release-please-mesosphere.yaml @@ -0,0 +1,27 @@ +name: release-please-mesosphere + +on: + workflow_dispatch: {} + push: + branches: + - mesosphere + +permissions: + contents: write + pull-requests: write + actions: write + +jobs: + release-please: + runs-on: ubuntu-22.04 + steps: + - uses: googleapis/release-please-action@v4 + id: release-please + + - if: ${{ steps.release-please.outputs.release_created }} + name: Run release workflow + uses: benc-uk/workflow-dispatch@v1 + with: + workflow: release.yml + ref: ${{ steps.release-please.outputs.tag_name }} + inputs: '{"releaseVersion":"${{ steps.release-please.outputs.tag_name }}"}' diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..e425fbf --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,10 @@ +{ + "packages": { + ".": { + "release-type": "go", + "pull-request-title-pattern": "release${scope}: ${component} v${version}", + "changelog-type": "github" + } + }, + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" +}