From e9050f1a3c65b4e43ba802255b0789a25d79befb Mon Sep 17 00:00:00 2001 From: Brad Warren Date: Mon, 24 Nov 2025 13:42:14 -0800 Subject: [PATCH] dynamically determine base branch name in mattermost notifications (#10496) previously, if we merged a PR into one of our point release branches, the mattermost notification would still say it was merged into main. this PR fixes that you can see me testing this change on my fork with this [workflow file](https://github.com/bmw/letsencrypt/actions/runs/19588662936/workflow#L30) and this [output](https://github.com/bmw/letsencrypt/actions/runs/19588662936/job/56102625766#step:2:4) if this PR is merged, i'll do the same thing in our josepy repo --- .github/workflows/merged.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/merged.yaml b/.github/workflows/merged.yaml index 9d46ce264..1766b248f 100644 --- a/.github/workflows/merged.yaml +++ b/.github/workflows/merged.yaml @@ -27,4 +27,4 @@ jobs: [${{ github.repository }}] | [${{ github.event.pull_request.title }} #${{ github.event.number }}](https://github.com/${{ github.repository }}/pull/${{ github.event.number }}) - was merged into main by ${{ github.actor }} + was merged into ${{ github.event.pull_request.base.ref }} by ${{ github.actor }}