Add discord noticiation workflow#208
Conversation
📝 WalkthroughWalkthroughA new GitHub Actions workflow file is added that fires on ChangesDiscord PR Notification Workflow
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In @.github/workflows/discord-notifications.yml:
- Around line 16-19: The Discord notification step is using the mutable
appleboy/discord-action@v1.2.0 tag while handling webhook secrets. Update the
uses reference in the discord-notifications workflow to the current pinned
commit SHA for that action instead of the version tag, so the workflow stays
fixed to an immutable revision.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 052342cf-43c8-4fa0-b2ac-f3acd8f7ac9e
📒 Files selected for processing (1)
.github/workflows/discord-notifications.yml
|
@Mtze can you add the secrets here? |
This PR adds the same discord notification workflow for PRs that receive the label 'schau mi o'
For this to work, we would need to copy over / config the DISCORD_WEBHOOK_ID and DISCORD_WEBHOOK_TOKEN env vars (or configure as org level secret)
Summary by CodeRabbit