-
-
Notifications
You must be signed in to change notification settings - Fork 206
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
GitHub Action & Slackbot: /bounty $X Command #3767
GitHub Action & Slackbot: /bounty $X Command #3767
Comments
/assign |
Hello @rishyym0927! You've been assigned to OWASP-BLT/BLT issue #3767. You have 24 hours to complete a pull request. |
⏰ This issue has been automatically unassigned due to 24 hours of inactivity. The issue is now available for anyone to work on again. |
/assign |
Hello @rishyym0927! You've been assigned to OWASP-BLT/BLT issue #3767. You have 24 hours to complete a pull request. |
⏰ This issue has been automatically unassigned due to 24 hours of inactivity. The issue is now available for anyone to work on again. |
GitHub Action Behavior:
• When a user comments on a GitHub issue with /bounty $X, the action will:
1. Add or update a $X Bounty label on the issue (if multiple bounties are placed, it updates to reflect the total bounty).
2. Post a comment confirming the bounty.
3. Track the user’s sponsorship history (e.g., total number of developers they have sponsored).
4. If a bounty already exists, it updates the total bounty amount instead of adding multiple labels.
GitHub Issue Output:
Once the bounty is placed, the GitHub Action will comment on the issue:
This issue now has a total bounty of $X thanks to @githubusername.
They have sponsored # developers so far!
(If multiple bounties are placed on the same issue, the comment is updated to reflect the new total bounty.)
Slackbot Integration:
When a bounty is placed using /bounty $X in Slack:
• The Slackbot will confirm the action and post a message:
@githubusername has added a $X bounty to an issue: .
The total bounty for this issue is now $Y.
Contribute now and earn rewards!
Additional Features (Optional Enhancements)
• Bounty Claiming: When an issue is closed (pr is merged), the GitHub Action will trigger the payouts.
• Leaderboard: update the leaderboard (user profile.winnings)
The text was updated successfully, but these errors were encountered: