diff --git a/.github/workflows/label.yml b/.github/workflows/label.yml new file mode 100644 index 0000000000..14efda79a4 --- /dev/null +++ b/.github/workflows/label.yml @@ -0,0 +1,19 @@ +# This file is maintained in https://github.com/WeblateOrg/meta/ +name: Comment to label + +on: + issues: + types: [labeled] + +jobs: + issueLabeled: + runs-on: ubuntu-latest + steps: + - name: Bounty explanation + uses: peter-evans/create-or-update-comment@v1 + if: github.event.label.name == '💰bounty' + with: + token: ${{ secrets.GITHUB_TOKEN }} + issue-number: ${{ github.event.issue.number }} + body: | + There is a bounty on this issue, the amount is in the title. The bounty will be awarded to the first person(s) who resolves this issue. Read the full conditions in the ['bounties.md' file](https://github.com/erciccione/haveno/blob/master/docs/bounties.md). If you are starting to work on this issue, please write a comment here, so that we can assign the issue to you and avoid duplicated work. \ No newline at end of file diff --git a/docs/bounties.md b/docs/bounties.md new file mode 100644 index 0000000000..79a0c172d3 --- /dev/null +++ b/docs/bounties.md @@ -0,0 +1,14 @@ +## Bounties + +We use bounties to incentivize development. To receive a bounty, you agree to these conditions: + +- Bounties will be set and awarded at discretion of the Haveno core team. +- The issues eligible for a bounty are labelled '💰bounty' and have the amount of the bounty specified in the title in this form: `[$200]` if in dollars or `[ɱ20]` if in Monero. +- The first person who resolves an issue in its entirety will receive the entire amount of the bounty. +- If the issue is resolved collaboratively by more than one person, the reward will be distributed among the contributors at discretion of the Haveno core team. +- Let the Maintainers know if you intend to work on a bounty, so that the issue can be assigned to you. Being assigned to an issue doesn't make that issue resolvable only by the assignee. It's meant to avoid duplication of efforts and not to discourage collective works. +- After the issue is resolved, contact the maintainers and claim your bounty (remember to provide them with a Monero address). +- If a big number of bounties is claimed at the same time, the maintainers might opt for sending all the rewards on a specific day of the month instead of right after resolution. +- If the bounty is in dollars, the contributor will receive the amount in Monero according to the value of XMR at the moment the issue was practically resolved, so in the moment the maintainers accept the last patch resolving the issue. + +We want to keep the system simple and flexible, but we will add new rules or edit existing ones if necessary. \ No newline at end of file