Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Add option bot_icon #461

Merged
merged 3 commits into from
Sep 15, 2023
Merged

Conversation

riya-amemiya
Copy link
Contributor

@riya-amemiya riya-amemiya commented Sep 14, 2023

Modify the icon and image dimensions to be customizable, since the icons displayed in Coderabbit's Slack notifications are excessively large and clutter the screen.

Summary by CodeRabbit

  • New Feature: Added a new optional input parameter bot_icon to the GitHub Action workflow. This allows users to customize the icon displayed in Slack notifications sent by the bot. The default value remains as the pre-defined image tag, ensuring backward compatibility for existing users who do not specify this new parameter.

@github-actions
Copy link
Contributor

github-actions bot commented Sep 14, 2023

Image description CodeRabbit

Walkthrough

This update introduces an optional input parameter bot_icon to the GitHub Action workflow, allowing users to customize the bot icon in Slack notifications. The changes replace a hardcoded icon with a user-defined one, enhancing personalization and user experience.

Changes

Files Summary
action.yml, src/commenter.ts Added a new optional input parameter bot_icon for customizing the bot icon in Slack notifications. Replaced hardcoded icon with the value from bot_icon.

🎉🐇

With a dash of code, and a sprinkle of fun,

Our bot now wears a new face, under the digital sun.

No more the same old look, it's time for a spin,

Customize your icon, let the celebrations begin! 🥳


Uplevel your code reviews with CodeRabbit Pro

CodeRabbit Pro

If you like this project, please support us by purchasing the Pro version. The Pro version has advanced context, superior noise reduction and several proprietary improvements compared to the open source version. Moreover, CodeRabbit Pro is free for open source projects.

Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

Image description CodeRabbit

Commits Files that changed from the base of the PR and between 91180ab and d9fbbd8 commits.
Files selected (2)
  • action.yml (1)
  • src/commenter.ts (2)
Files ignored due to filter (1)
  • dist/index.js
Files skipped from review due to trivial changes (1)
  • action.yml
Review comments generated (2)
  • Review: 2
  • LGTM: 0

Tips

Chat with Image description CodeRabbit Bot (@coderabbitai)

  • Reply on review comments left by this bot to ask follow-up questions. A review comment is a comment on a diff or a file.
  • Invite the bot into a review comment chain by tagging @coderabbitai in a reply.

Code suggestions

  • The bot may make code suggestions, but please review them carefully before committing since the line number ranges may be misaligned.
  • You can edit the comment made by the bot and manually tweak the suggestion if it is slightly off.

Pausing incremental reviews

  • Add @coderabbitai: ignore anywhere in the PR description to pause further reviews from the bot.

src/commenter.ts Show resolved Hide resolved
src/commenter.ts Show resolved Hide resolved
Copy link
Contributor

@harjotgill harjotgill left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution!

@harjotgill harjotgill merged commit 44244a9 into coderabbitai:main Sep 15, 2023
1 check passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants