Define the Gitcoin Bot action methods for interacting with the Github API as a Github App.
Copyright (C) 2021 Gitcoin Core
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see http://www.gnu.org/licenses/.
Validate every bound before call the annotated function.
Validate if the specified amount is not negative and greater than zero.
no_active_bounty(owner, repo, issue_id)
Instructions to create a bounty.
Get the first token defined in comment_text.
start_work_text(owner, repo, issue_id)
Instructions to start work on current bounty.
submit_work_text(owner, repo, issue_id)
Return the instruction to submit the work associated to the bounty.
submit_work_or_new_bounty_text(owner, repo, issue_id)
Submit work if the bounty exists else show instructions to create one.
Based on comment_text an assigned response is returned.