Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 6 additions & 3 deletions .github/workflows/version-bump-on-development.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Loading