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" + } } }