From 9443aaff642cb0936a353dd196b77cb6cb56b33e Mon Sep 17 00:00:00 2001 From: Ivan Chepurnyi Date: Tue, 7 Jan 2025 15:38:47 +0100 Subject: [PATCH] chore: add release-please --- .github/workflows/php-package.yml | 1 + .github/workflows/release-please.yml | 21 +++++++++++++++++++++ 2 files changed, 22 insertions(+) create mode 100644 .github/workflows/release-please.yml diff --git a/.github/workflows/php-package.yml b/.github/workflows/php-package.yml index b1c4030..0196747 100644 --- a/.github/workflows/php-package.yml +++ b/.github/workflows/php-package.yml @@ -2,6 +2,7 @@ name: PHP Package on: push: pull_request: + workflow_call: jobs: format-check: name: Check PSR12 Standarts diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..7f44357 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,21 @@ +on: + push: + branches: + - main + +permissions: + contents: write + pull-requests: write + +name: Create Release + +jobs: + verify-release: + uses: ./.github/workflows/php-package.yml + release-please: + needs: verify-release + runs-on: ubuntu-24.04 + steps: + - uses: googleapis/release-please-action@v4 + with: + release-type: php \ No newline at end of file