Refine exclusion conditions for CHANGELOG-modification comment

Refactor conditions for PR title checks in workflow.

Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Mario Campos
2026-10-08 12:57:52 -05:00
committed by GitHub
parent ccdf69089a
commit 928548a094

View File

@@ -274,8 +274,13 @@ jobs:
if: >-
needs.other-checks.outputs.changelog-changed == 'true' &&
!(
startsWith(github.event.pull_request.title, 'Merge ') &&
contains(github.event.pull_request.title, ' into releases/v') ||
startsWith(github.event.pull_request.title, 'Merge main into releases/v') &&
startsWith(github.event.pull_request.head.ref, 'update-v') &&
startsWith(github.event.pull_request.base.ref, 'releases/v') ||
startsWith(github.event.pull_request.title, 'Merge releases/v') &&
contains(github.event.pull_request.title, ' into releases/v') &&
startsWith(github.event.pull_request.head.ref, 'backport-v') &&
startsWith(github.event.pull_request.base.ref, 'releases/v') ||
startsWith(github.event.pull_request.title, 'Mergeback ') &&
startsWith(github.event.pull_request.head.ref, 'mergeback/') ||
startsWith(github.event.pull_request.title, 'Update default bundle to ') &&