From fa6a058a37c24bd6af6a20c26c21caa79911167e Mon Sep 17 00:00:00 2001 From: Lukas Gaechter Date: Mon, 23 Sep 2024 08:56:18 +0200 Subject: [PATCH] ci: Fix release please --- .github/workflows/release.yml | 13 ++++++++++++- release-please-config.json | 7 ++++++- 2 files changed, 18 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2493b74..20a9366 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -5,6 +5,17 @@ on: branches: - main +permissions: + contents: write + pull-requests: write + jobs: release: - uses: mindkomm/workflows/.github/workflows/release.yml@main + name: Release + runs-on: ubuntu-latest + steps: + - uses: googleapis/release-please-action@v4 + with: + target-branch: ${{ github.ref_name }} + config-file: release-please-config.json + manifest-file: .release-please-manifest.json diff --git a/release-please-config.json b/release-please-config.json index 09a0355..c9be9b0 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,7 +1,12 @@ { "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", "release-type": "php", + "prerelease": false, + "draft": false, + "pull-request-header": "Release-please has created a release", "packages": { - ".": {} + ".": { + "changelog-path": "CHANGELOG.md" + } } }