From aef773cfdb52924b4944e52551ac22bb5700bedf Mon Sep 17 00:00:00 2001 From: roxblnfk Date: Fri, 9 Oct 2026 17:47:23 +0400 Subject: [PATCH 1/2] ci: setup release-please Co-Authored-By: Claude Opus 5.5 (1M context) --- .github/.release-please-config.json | 80 ++++++++++++++++++++++++++++ .github/version.json | 3 ++ .github/workflows/create-release.yml | 26 +++++++++ 3 files changed, 109 insertions(+) create mode 100644 .github/.release-please-config.json create mode 100644 .github/version.json create mode 100644 .github/workflows/create-release.yml diff --git a/.github/.release-please-config.json b/.github/.release-please-config.json new file mode 100644 index 0000000..d691f2b --- /dev/null +++ b/.github/.release-please-config.json @@ -0,0 +1,80 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "release-type": "php", + "packages": { + ".": { + "package-name": "spiral/roadrunner-cli", + "changelog-path": "/CHANGELOG.md" + } + }, + "bootstrap-sha": "54909d3fff22d34d1a6e894785f3df9dca0e2e8c", + "include-component-in-tag": false, + "include-v-in-tag": true, + "changelog-sections": [ + { + "type": "feat", + "section": "Features", + "hidden": false + }, + { + "type": "fix", + "section": "Bug Fixes", + "hidden": false + }, + { + "type": "perf", + "section": "Performance Improvements", + "hidden": false + }, + { + "type": "docs", + "section": "Documentation", + "hidden": false + }, + { + "type": "deps", + "section": "Dependencies", + "hidden": false + }, + { + "type": "refactor", + "section": "Code Refactoring", + "hidden": false + }, + { + "type": "test", + "section": "Tests", + "hidden": true + }, + { + "type": "tests", + "section": "Tests", + "hidden": true + }, + { + "type": "build", + "section": "Build System", + "hidden": true + }, + { + "type": "ci", + "section": "Continuous Integration", + "hidden": true + }, + { + "type": "chore", + "section": "Miscellaneous", + "hidden": true + }, + { + "type": "style", + "section": "Styles", + "hidden": true + }, + { + "type": "revert", + "section": "Reverts", + "hidden": true + } + ] +} diff --git a/.github/version.json b/.github/version.json new file mode 100644 index 0000000..889b49d --- /dev/null +++ b/.github/version.json @@ -0,0 +1,3 @@ +{ + ".": "2.7.2" +} diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml new file mode 100644 index 0000000..399edbd --- /dev/null +++ b/.github/workflows/create-release.yml @@ -0,0 +1,26 @@ +# https://github.com/googleapis/release-please-action#release-types-supported +# https://github.com/googleapis/release-please/blob/main/docs/customizing.md + +on: # yamllint disable-line rule:truthy + push: + branches: + - 2.x + +name: 📦 Create release + +permissions: + contents: write + pull-requests: write + +jobs: + release: + runs-on: ubuntu-latest + steps: + - name: 🎉 Create release + uses: googleapis/release-please-action@v4 + id: release + with: + token: ${{ secrets.GITHUB_TOKEN }} + config-file: .github/.release-please-config.json + manifest-file: .github/version.json + target-branch: 2.x From ccb20b3d9a5ae0add18cc79ae0e9d0c2a6ef3ea3 Mon Sep 17 00:00:00 2001 From: roxblnfk Date: Fri, 9 Oct 2026 18:23:38 +0400 Subject: [PATCH 2/2] ci: grant issues write permission to release-please release-please creates the 'autorelease: pending' label when it is missing. Co-Authored-By: Claude Opus 5.5 (1M context) --- .github/workflows/create-release.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/create-release.yml b/.github/workflows/create-release.yml index 399edbd..ac92921 100644 --- a/.github/workflows/create-release.yml +++ b/.github/workflows/create-release.yml @@ -10,6 +10,7 @@ name: 📦 Create release permissions: contents: write + issues: write pull-requests: write jobs: