From b81b3e2281c2753a2332eb447764ad835eb444c7 Mon Sep 17 00:00:00 2001 From: Tweeto <91831939+arielt17@users.noreply.github.com> Date: Wed, 15 Jan 2025 14:48:23 +0200 Subject: [PATCH 1/2] Create release.yaml --- .github/workflows/release.yaml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .github/workflows/release.yaml diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml new file mode 100644 index 0000000..64f51bd --- /dev/null +++ b/.github/workflows/release.yaml @@ -0,0 +1,11 @@ +name: Release + +on: + pull_request: + types: [closed] + +jobs: + release: + if: github.event.pull_request.merged == true && github.base_ref == 'main' && !contains(github.event.pull_request.labels.*.name, 'skip release') + uses: elementor/elementor-cloud-github-actions/.github/workflows/bump-release.yaml@fix/add-json-file-update + secrets: inherit From 484aa042a928077138cbc4c1588a371ee2397099 Mon Sep 17 00:00:00 2001 From: Tweeto <91831939+arielt17@users.noreply.github.com> Date: Wed, 15 Jan 2025 14:50:08 +0200 Subject: [PATCH 2/2] Update release.yaml --- .github/workflows/release.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 64f51bd..af29923 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -8,4 +8,7 @@ jobs: release: if: github.event.pull_request.merged == true && github.base_ref == 'main' && !contains(github.event.pull_request.labels.*.name, 'skip release') uses: elementor/elementor-cloud-github-actions/.github/workflows/bump-release.yaml@fix/add-json-file-update + with: + CUSTOM_JSON_FILE: composer.json + CUSTOM_FIELD: version secrets: inherit