From ba86d4baf491cc3ecbdf0224a32fa267da6209cc Mon Sep 17 00:00:00 2001 From: Anton Chernov Date: Wed, 2 Sep 2026 02:52:54 +0300 Subject: [PATCH] Fixed version bump-on workflow (take two) --- .github/workflows/version-bump-on-development.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/version-bump-on-development.yml b/.github/workflows/version-bump-on-development.yml index f3fb88b..8fad593 100644 --- a/.github/workflows/version-bump-on-development.yml +++ b/.github/workflows/version-bump-on-development.yml @@ -23,13 +23,16 @@ jobs: - name: Check skip marker id: skip shell: bash + env: + PR_TITLE: ${{ github.event.pull_request.title }} + PR_BODY: ${{ github.event.pull_request.body }} run: | - title="${{ github.event.pull_request.title }}" - body="${{ github.event.pull_request.body }}" + title="$PR_TITLE" + body="$PR_BODY" last_commit="$(git log -1 --pretty=%B)" merged_message="$title\n$body\n$last_commit" - if echo "$merged_message" | grep -qi '\[skip ci\]'; then + if printf '%s\n' "$merged_message" | grep -qi '\[skip ci\]'; then echo "skip=true" >> "$GITHUB_OUTPUT" echo "[skip ci] found; workflow will stop." else