Skip to content

Commit

Permalink
Merge pull request #318 from ubq-testing/development
Browse files Browse the repository at this point in the history
chore: update readme
  • Loading branch information
Keyrxng authored Sep 26, 2024
2 parents 63ec983 + 8cf6739 commit 45b345a
Show file tree
Hide file tree
Showing 5 changed files with 75 additions and 67 deletions.
120 changes: 60 additions & 60 deletions .github/.ubiquibot-config.yml
Original file line number Diff line number Diff line change
@@ -1,31 +1,31 @@
plugins:
- uses:
- plugin: https://ubiquibot-command-wallet-development.ubiquity.workers.dev
- plugin: https://ubiquibot-command-wallet-development.ubiquity.workers.dev
- uses:
- plugin: https://ubiquibot-command-query-user-development.ubiquity.workers.dev
with:
allowPublicQuery: true
- plugin: https://ubiquibot-command-query-user-development.ubiquity.workers.dev
with:
allowPublicQuery: true
- uses:
- plugin: https://ubiquibot-assistive-pricing-development.ubiquity.workers.dev
with:
labels:
time:
- "Time: <1 Hour"
- "Time: <2 Hours"
- "Time: <4 Hours"
- "Time: <1 Day"
- "Time: <1 Week"
- "Time: <1 Month"
priority:
- "Priority: 1 (Normal)"
- "Priority: 2 (Medium)"
- "Priority: 3 (High)"
- "Priority: 4 (Urgent)"
- "Priority: 5 (Emergency)"
basePriceMultiplier: 2
publicAccessControl:
setLabel: true
fundExternalClosedIssue: false
- plugin: https://ubiquibot-assistive-pricing-development.ubiquity.workers.dev
with:
labels:
time:
- "Time: <1 Hour"
- "Time: <2 Hours"
- "Time: <4 Hours"
- "Time: <1 Day"
- "Time: <1 Week"
- "Time: <1 Month"
priority:
- "Priority: 1 (Normal)"
- "Priority: 2 (Medium)"
- "Priority: 3 (High)"
- "Priority: 4 (Urgent)"
- "Priority: 5 (Emergency)"
basePriceMultiplier: 2
publicAccessControl:
setLabel: true
fundExternalClosedIssue: false
- skipBotEvents: false
uses:
- plugin: ubiquibot/conversation-rewards@development
Expand All @@ -44,7 +44,7 @@ plugins:
enabled: true
formattingEvaluator:
multipliers:
- role: [ ISSUE_SPECIFICATION ]
- role: [ISSUE_SPECIFICATION]
multiplier: 3
rewards:
regex:
Expand All @@ -67,47 +67,47 @@ plugins:
li: 1
td: 1
hr: 0
- role: [ ISSUE_AUTHOR ]
- role: [ISSUE_AUTHOR]
multiplier: 1
rewards:
regex:
"\\b\\w+\\b": 0.2
- role: [ ISSUE_ASSIGNEE ]
- role: [ISSUE_ASSIGNEE]
multiplier: 1
rewards:
regex:
"\\b\\w+\\b": 0.1
- role: [ ISSUE_COLLABORATOR ]
- role: [ISSUE_COLLABORATOR]
multiplier: 1
rewards:
regex:
"\\b\\w+\\b": 0.1
- role: [ ISSUE_CONTRIBUTOR ]
- role: [ISSUE_CONTRIBUTOR]
multiplier: 0.25
rewards:
regex:
"\\b\\w+\\b": 0.1
- role: [ PULL_SPECIFICATION ]
- role: [PULL_SPECIFICATION]
multiplier: 0
rewards:
regex:
"\\b\\w+\\b": 0
- role: [ PULL_AUTHOR ]
- role: [PULL_AUTHOR]
multiplier: 0
rewards:
regex:
"\\b\\w+\\b": 0.2
- role: [ PULL_ASSIGNEE ]
- role: [PULL_ASSIGNEE]
multiplier: 1
rewards:
regex:
"\\b\\w+\\b": 0.1
- role: [ PULL_COLLABORATOR ]
- role: [PULL_COLLABORATOR]
multiplier: 1
rewards:
regex:
"\\b\\w+\\b": 0.1
- role: [ PULL_CONTRIBUTOR ]
- role: [PULL_CONTRIBUTOR]
multiplier: 0.25
rewards:
regex:
Expand All @@ -118,32 +118,32 @@ plugins:
post: true
debug: false
- uses:
- plugin: ubiquibot/user-activity-watcher@development
with:
watch:
optOut:
- ubiquibot
- launch-party
- staging
- production
- plugin: ubiquibot/user-activity-watcher@development
with:
watch:
optOut:
- ubiquibot
- launch-party
- staging
- production
- uses:
- plugin: ubiquibot/automated-merging@development
with:
approvalsRequired:
collaborator: 1
mergeTimeout:
collaborator: "3.5 days"
repos:
ignore:
- ubiquibot
- launch-party
- staging
- production
- plugin: ubiquibot/automated-merging@development
with:
approvalsRequired:
collaborator: 1
mergeTimeout:
collaborator: "3.5 days"
repos:
ignore:
- ubiquibot
- launch-party
- staging
- production
- uses:
- plugin: https://ubiquibot-command-start-stop-development.ubiquity.workers.dev
with:
reviewDelayTolerance: "3 Days"
taskStaleTimeoutDuration: "30 Days"
startRequiresWallet: true # default is true
- plugin: https://ubiquibot-command-start-stop-development.ubiquity.workers.dev
with:
reviewDelayTolerance: "3 Days"
taskStaleTimeoutDuration: "30 Days"
startRequiresWallet: true # default is true
- uses:
- plugin: ubiquibot/issue-comment-embeddings@development
- plugin: ubiquibot/issue-comment-embeddings@development
6 changes: 2 additions & 4 deletions .github/workflows/sync-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: Sync branch to template
on:
workflow_dispatch:
schedule:
- cron: '14 0 1 * *'
- cron: "14 0 1 * *"

jobs:
sync:
Expand All @@ -23,7 +23,7 @@ jobs:
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}

- name: Sync branch to template
env:
GH_TOKEN: ${{ steps.get_installation_token.outputs.token }}
Expand All @@ -45,5 +45,3 @@ jobs:
git commit -m "chore: sync template"
git push "$original_remote" "$pr_branch"
gh pr create --title "Sync branch to template" --body "This pull request merges changes from the template repository." --head "$pr_branch" --base "$branch_name"
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,18 @@ A vanilla Typescript dApp for claiming Ubiquity Rewards. It also includes tools
RPC_PROVIDER_URL="http://127.0.0.1:8545"
PAYMENT_TOKEN_ADDRESS="0xe91D153E0b41518A2Ce8Dd3D7944Fa863463a97d"
# Storing tx data is not required to test locally although you do need to fill these with valid values
# unless working on this feature specifically you won't need to build a supabase instance
SUPABASE_URL=https://<yourSupabaseInstance>.supabase.co # used for storing permit tx data
SUPABASE_ANON_KEY="...." # used for storing permit tx data
# Variables depending on spender (bounty hunter)
AMOUNT_IN_ETH="1"
BENEFICIARY_ADDRESS="0xf39Fd6e51aad88F6F4ce6aB8827279cffFb92266"
# Legacy env vars (only used when invalidating **REAL** permits via /scripts/solidity/getInvalidateNonceParams.ts)
NONCE="0"
NONCE_SIGNER_ADDRESS="0x"
```

## Local Testing
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -91,4 +91,4 @@
"@commitlint/config-conventional"
]
}
}
}
5 changes: 3 additions & 2 deletions static/styles/rewards/pay.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,13 @@
}

html {
display:block;
display: block;
width: 100%;
height: 100%;
}

body, main {
body,
main {
width: 100%;
height: 100%;
}
Expand Down

0 comments on commit 45b345a

Please sign in to comment.