-
-
Notifications
You must be signed in to change notification settings - Fork 226
Add Timed Bounty Parsing and Fix Repository Input #3932
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
Conversation
Can you show the screenshots of it working please? |
Hi @DonnieBLT, could you please guide me on how to simulate this action? |
bro u can go to github developer setting and can create client secret key and token |
WalkthroughThis change updates the GitHub Actions workflow in the Changes
Sequence Diagram(s)sequenceDiagram
participant IssueCreator as Issue Creator
participant Workflow as GitHub Actions Workflow
participant BLTAction as OWASP-BLT Action
IssueCreator->>Workflow: Create issue (with bounty details)
Workflow-->>BLTAction: Trigger auto-assign job with bounty-amount (from issue or 0) and bounty-hours (from issue or 24)
BLTAction-->>Workflow: Process issue with bounty parameters
Poem
Tip ⚡🧪 Multi-step agentic review comment chat (experimental)
🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
.github/workflows/assign-issues.yml (1)
20-21
: Validate Timed Bounty Parameter ParsingThe new parameters
bounty-amount
andbounty-hours
are correctly added with fallback defaults (0
and24
respectively). Please verify that the BLT-Action’s internal logic correctly parses these values from the issue body. Since the issue body is a string, ensure that the use of the logical OR (||
) operator appropriately handles cases where the expected properties might be missing or falsy. It may also be beneficial to update the documentation to specify the required format for these values.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
.github/workflows/assign-issues.yml
(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms (4)
- GitHub Check: Run Tests
- GitHub Check: docker-test
- GitHub Check: Analyze (python)
- GitHub Check: Analyze (javascript-typescript)
/giphy try again |
User description
User description
assign-issues.yml
workflow to support the timed bounty feature requested in issue Have the ability to set a timed bounty on an issue #3883.bounty-amount
andbounty-hours
from the issue body and includes the requiredrepository
input for the BLT-Action.Fixes: #3883
PR Type
enhancement, configuration changes
Description
Added support for timed bounty in
assign-issues.yml
.Introduced parsing of
bounty-amount
andbounty-hours
from issue body.Updated BLT-Action configuration with new inputs.
Changes walkthrough 📝
assign-issues.yml
Add timed bounty parsing to workflow
.github/workflows/assign-issues.yml
bounty-amount
input to parse bounty value.bounty-hours
input to set bounty duration.Summary by CodeRabbit