Repository navigation
CI: post merged pull requests, community issues and releases to the WrongGPU Discord - #212
Merged
Merged
Conversation
…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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Adds
.github/workflows/discord-feed.yml. It posts to the WrongGPU Discord's #github-feed channel.What it posts
What it skips: pushes, and opened, edited or unmerged pull requests.
Safety
pull_request_target, so merged pull requests from forks are covered too. It never checks out pull request code.jq, never put into the script through${{ }}.issues: readandpull-requests: read.DISCORD_GITHUB_FEEDrepository secret.A
workflow_dispatchentry posts a written digest (title + message). Only maintainers can run it.