Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bounty Bot Enhancement: Fixed Label Updates & Slack Integration #63

Closed
wants to merge 0 commits into from

Conversation

rishyym0927
Copy link

πŸ›  Changes Introduced:

βœ… Implemented bounty tracking to update the existing bounty label instead of adding duplicates.
βœ… Improved GitHub issue comments to update the existing bounty message instead of creating multiple comments.
βœ… Sponsorship history tracking: Each user’s total sponsored developers count is tracked and displayed.
βœ… Replaced SLACK_WEBHOOK_URL with SLACK_BOT_TOKEN for better Slack integration.
βœ… Improved Slack notifications to reflect the updated bounty amount.
πŸ”₯ How It Works:

A user comments /bounty $X on an issue.
The bot updates the issue label to reflect the total bounty.
The bot updates the GitHub comment instead of adding duplicate messages.
The bot tracks the number of developers the user has sponsored.
A Slack message is sent to notify about the bounty.

πŸ” Testing Done:

βœ” Verified that bounties are correctly updated.
βœ” Tested Slack notifications for accuracy.
βœ” Ensured the GitHub comment updates correctly.

###Changes Made
-You need to manually add the SLACK_BOT_TOKEN and PERSONAL_ACCESS_TOKENS in secrets under actions

###Screenshots

image
image

###FIXES OWASP-BLT/BLT#3767

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.

GitHub Action & Slackbot: /bounty $X Command
1 participant