From ae75d466cee9de3cf2da4b0c49e9fdff274a62e2 Mon Sep 17 00:00:00 2001 From: Mario Campos Date: Thu, 8 Oct 2026 12:06:32 -0500 Subject: [PATCH] Exclude "Mergeback" and "Update default bundle" PRs from CHANGELOG.md change warning --- .github/workflows/pr-checks.yml | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/.github/workflows/pr-checks.yml b/.github/workflows/pr-checks.yml index 6dbb457e3..3c0394328 100644 --- a/.github/workflows/pr-checks.yml +++ b/.github/workflows/pr-checks.yml @@ -269,15 +269,17 @@ jobs: fi - name: Post a warning about modifying CHANGELOG.md - # Release and backport PRs created by `update-release-branch.ts` are titled - # `Merge into `, where the target branch is always a - # `releases/v*` branch. These PRs deliberately modify CHANGELOG.md as part of the release - # process, so skip the warning for them. + # Release, backport, mergeback, and bundle-update PRs deliberately modify CHANGELOG.md, + # so skip the warning for these automation flows. if: >- needs.other-checks.outputs.changelog-changed == 'true' && !( startsWith(github.event.pull_request.title, 'Merge ') && - contains(github.event.pull_request.title, ' into releases/v') + contains(github.event.pull_request.title, ' into 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 ') && + startsWith(github.event.pull_request.head.ref, 'update-bundle/') ) env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}