feat: Enable custom footer messages for update-discussion #6915
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
The
update-discussionsafe output was using the legacygenerateFooterfunction instead ofgenerateFooterWithMessages, preventing users from customizing footer messages via themessagesconfiguration.Changes
update_discussion.cjs: Switched fromgenerateFootertogenerateFooterWithMessagesto respect custom message configurationGH_AW_SAFE_OUTPUT_MESSAGESis configured.github/workflows/dev.mdUsage
Supports template variables:
{workflow_name},{run_url},{workflow_source},{triggering_number}Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
https://api.github.com/user/usr/bin/gh gh api user --jq .login e-github-app-token.git sh /usr/bin/infocmp "prettier" --wrigit gh node infocmp -1 it/ref/tags/v5 node(http block)/usr/bin/gh gh api user --jq .login k/gh-aw/gh-aw/.g--detach --jq /usr/lib/git-core/git --write ../../**/*.json 64/bin/go /usr/lib/git-core/git remo�� tags/v6(http block)/usr/bin/gh gh api user --jq .login b/workflows -importcfg f2aadee764fa37d99547772697e937842b7/log.json l -w -buildmode=exe e/git -o om/actions/checkout.git om/actions/checkout.git /usr/bin/git by/b1104e9998745sh main -lang=go1.25 git(http block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.