Helps settings prices and adds label to the issues accordingly.
Example of valid configuration:
- plugin: https://ubiquity-os-daemon-pricing.ubq.fi
with:
labels:
time:
- name: "Time: <1 Hour"
collaboratorOnly: false
- name: "Time: <2 Hours"
collaboratorOnly: false
- name: "Time: <4 Hours"
collaboratorOnly: false
- name: "Time: <1 Day"
collaboratorOnly: false
- name: "Time: <1 Week"
collaboratorOnly: false
priority:
- name: "Priority: 1 (Normal)"
collaboratorOnly: false
- name: "Priority: 2 (Medium)"
collaboratorOnly: true
- name: "Priority: 3 (High)"
collaboratorOnly: false
- name: "Priority: 4 (Urgent)"
collaboratorOnly: false
- name: "Priority: 5 (Emergency)"
collaboratorOnly: false
basePriceMultiplier: 1
publicAccessControl:
setLabel: true
fundExternalClosedIssue: false
globalConfigUpdate:
excludeRepos: ["devpool-directory", "devpool-directory-private"]
Supabase can be started through the CLI running
supabase start
Start the Worker by running
yarn worker
To trigger the worker, POST
requests should be made to http://localhost:4000 with a Content-Type: application/json
header and a body
looking like
{
"stateId": "",
"eventName": "",
"eventPayload": "",
"settings": "",
"ref": ""
}
For convenience you can find an .http
file with a valid request here.
To start Jest tests, run
yarn test