mirror of
https://github.com/github/codeql-action.git
synced 2026-10-29 17:17:15 +00:00
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:
9
.github/workflows/pr-checks.yml
vendored
9
.github/workflows/pr-checks.yml
vendored
@@ -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 ') &&
|
||||
|
||||
Reference in New Issue
Block a user