Skip to content

ci(discord): post commits to a per-repository forum post - #1335

Merged
Quick104 merged 1 commit into
mainfrom
ci/discord-commit-feed
Sep 23, 2026
Merged

Quick104 merged 1 commit into
mainfrom
ci/discord-commit-feed

Conversation

@Quick104

Copy link
Copy Markdown
Contributor

Problem

Related issue: N/A — narrow fix

The Discord commit feed only covers silo-server. We want silo-apple and silo-android commits there too, with each repository in its own place, so the feed channel is now a forum with one post per repository.

Approach

The existing script moves into reusable-discord-commits.yml, a workflow_call workflow. It is unchanged apart from adding thread_id to the webhook URL, which a forum-channel webhook needs to know which post to write to. It also fails with a clear message when the thread ID or webhook is missing.

discord-commits.yml now calls it with two repository settings:

  • DISCORD_COMMITS_THREAD_ID (variable): the repository's forum post.
  • DISCORD_COMMITS_WEBHOOK_URL (secret): the forum channel's webhook.

Both are already set in all three repositories. silo-apple and silo-android get the same caller in separate PRs, pointing at Silo-Server/silo-server/.github/workflows/reusable-discord-commits.yml@main. Keeping one copy of the script means the three feeds cannot drift.

The webhook uses a new secret name, so the current feed keeps posting to the old channel until this merges.

Validation

  • actionlint passes on both workflow files.
  • node --check passes on the embedded script.
  • The new webhook resolves to the forum channel (checked with a GET, which does not post).
  • Not run end to end: the first real post happens on the first push to main after merge.

Risks

If a thread ID is wrong, the notify job fails and shows the Discord error. Other CI is unaffected.

After merge, the old DISCORD_WEBHOOK_URL secret is unused and can be deleted.

Checklist

  • I read and can explain the complete diff.
  • This pull request addresses one concern.

AI Disclosure

  • Harness: Claude Code, running in T3 Code
  • Tool(s): Claude Code, GitHub CLI
  • Model(s): claude-opus-5-5
  • Involvement: Fully AI-generated; human review of the diff pending
  • Adversarial review: n/a

🤖 Generated with Claude Code

Move the commit feed script into a reusable workflow that posts to a
Discord forum channel with a thread_id, so silo-server, silo-apple, and
silo-android each write to their own post. silo-server's feed now calls
it with its DISCORD_COMMITS_THREAD_ID variable and the new
DISCORD_COMMITS_WEBHOOK_URL secret.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Quick104 has reached the 50-credit limit for trial accounts. To continue receiving code reviews, upgrade your plan.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-09-23T13:41:36.684992Z 8ea2260 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@coderabbitai

coderabbitai Bot commented Sep 23, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 8 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Advanced

Run ID: 46c7a41e-720e-4d17-b094-ef67ab572503

📥 Commits

Reviewing files that changed from the base of the PR and between 5a723e4 and 8ea2260.

📒 Files selected for processing (2)
  • .github/workflows/discord-commits.yml
  • .github/workflows/reusable-discord-commits.yml

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@Quick104
Quick104 merged commit a788d35 into main Sep 23, 2026
10 checks passed
@Quick104
Quick104 deleted the ci/discord-commit-feed branch September 23, 2026 13:46
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