Keep release notifications out of the progress channel when its webhook is the only one configured #24

Open
github-bot wants to merge 1 commit from github-bot/gh-24 into main AGit
Owner

@⁠RavenCurseBurg on GitHub · 2026-11-26 03:27 UTC · original
RavenCurseBurg:fix/discord-event-routing → main · +1 −1 · 1 files · 1 commits · open

With only DISCORD_WEBHOOK_PROGRESS configured, the old expression resolved a release to the progress webhook. The workflow now selects the secret name from the event and then reads its value. An unset announcements webhook reaches the notification script as an empty value, so it follows the existing skip path.

I exercised the old and new expressions on GitHub Actions with push and release events and four combinations of synthetic values: neither channel, either channel alone, and both. The only routing change was the release with just the progress webhook configured. The Release build with warnings as errors also passed all three CTests. Routing checks

AI-assisted with Codex + GPT-6.2 Astra (xhigh).

**@⁠RavenCurseBurg** on GitHub · 2026-11-26 03:27 UTC · [original](https://github.com/JamesCicada/GTAVI-Recomp/pull/24) `RavenCurseBurg:fix/discord-event-routing` → `main` · +1 −1 · 1 files · 1 commits · open With only `DISCORD_WEBHOOK_PROGRESS` configured, the old expression resolved a release to the progress webhook. The workflow now selects the secret name from the event and then reads its value. An unset announcements webhook reaches the notification script as an empty value, so it follows the existing skip path. I exercised the old and new expressions on GitHub Actions with push and release events and four combinations of synthetic values: neither channel, either channel alone, and both. The only routing change was the release with just the progress webhook configured. The Release build with warnings as errors also passed all three CTests. [Routing checks](https://github.com/RavenCurseBurg/GTAVI-Recomp/actions/runs/45748949747/job/139671804147) AI-assisted with Codex + GPT-6.2 Astra (xhigh).
AI-assisted with Codex + GPT-6.2 Astra (xhigh).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 20:44:37 +00:00
This pull request can be merged automatically.
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/24/head:github-bot/gh-24'
git switch 'github-bot/gh-24'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-24'
git switch 'github-bot/gh-24'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-24'
git switch 'github-bot/gh-24'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-24'
git switch 'main'
git merge --squash 'github-bot/gh-24'
git switch 'main'
git merge --ff-only 'github-bot/gh-24'
git switch 'main'
git merge 'github-bot/gh-24'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.