Skip to content

CI: post merged pull requests, community issues and releases to the WrongGPU Discord - #212

Merged
phantoslayer21 merged 1 commit into
mainfrom
ci/discord-feed
Nov 14, 2026
Merged

phantoslayer21 merged 1 commit into
mainfrom
ci/discord-feed

Conversation

@phantoslayer21

Copy link
Copy Markdown
Owner

Adds .github/workflows/discord-feed.yml. It posts to the WrongGPU Discord's #github-feed channel.

What it posts

  • each merged pull request: its title, the first paragraph of its description (up to 350 characters), and its milestone's progress (e.g. "0.6.5: 31 of 40 done");
  • new issues opened by the community;
  • published releases.

What it skips: pushes, and opened, edited or unmerged pull requests.

Safety

  • It uses pull_request_target, so merged pull requests from forks are covered too. It never checks out pull request code.
  • Titles and bodies are read from the event file with jq, never put into the script through ${{ }}.
  • Token permissions: issues: read and pull-requests: read.
  • The webhook URL is the DISCORD_GITHUB_FEED repository secret.

A workflow_dispatch entry posts a written digest (title + message). Only maintainers can run it.

…rongGPU Discord

A Discord feed for #github-feed: each merged pull request with a short summary from its description and its milestone's
progress, new issues from the community, and published releases. No pushes and no opened or edited pull requests.
It reads only the event and the milestone; it never checks out pull request code, so pull_request_target is safe here.
A workflow_dispatch entry posts a written digest (maintainers only). The webhook is the DISCORD_GITHUB_FEED secret.

Signed-off-by: phantoslayer21 <156617979+phantoslayer21@users.noreply.github.com>
@phantoslayer21
phantoslayer21 merged commit d745ca1 into main Nov 14, 2026
9 checks passed
@phantoslayer21
phantoslayer21 deleted the ci/discord-feed branch November 14, 2026 22:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant