ubiquity / ts-template

A template repository for all @ubiquity projects.
2 stars 24 forks source link

Fix secrets usage #75

Closed gentlementlegen closed 1 week ago

gentlementlegen commented 1 week ago
          @0x4007 I should have tested this, but it will always crash if a user opens a pull request because it uses variables from secrets that are not accessible, I will fix that.

Originally posted by @gentlementlegen in https://github.com/ubiquity/ts-template/issues/31#issuecomment-2464146839

Many variables of the script reference secrets, which do not exist on PRs for security reasons. They have to be replaced or default to something for graceful fallback.

ubiquity-os[bot] commented 1 week ago
! No price label is set to calculate the duration
ubiquity-os[bot] commented 1 week ago
! No price label is set to calculate the duration
ubiquity-os[bot] commented 1 week ago

@gentlementlegen the deadline is at Fri, Nov 8, 9:08 AM UTC

0x4007 commented 1 week ago
! No price label is set to calculate the duration

This error doesn't make sense it should be removed.

ubiquity-os[bot] commented 1 week ago

 [ 17.76 WXDAI ] 

@gentlementlegen
Contributions Overview
ViewContributionCountReward
IssueTask16
IssueSpecification111.76
ReviewComment10
Conversation Incentives
CommentFormattingRelevanceReward
@0x4007 I should have tested this, but it will always crash if a…
3.92
content:
  content:
    p:
      score: 0
      elementCount: 3
    em:
      score: 0
      elementCount: 1
  result: 0
regex:
  wordCount: 75
  wordValue: 0.1
  result: 3.92
111.76
Resolves #75QA: https://github.com/ubiquity-os/plugin-sdk/acti…
0
content:
  content:
    p:
      score: 0
      elementCount: 2
  result: 0
regex:
  wordCount: 17
  wordValue: 0
  result: 0
0.20

 [ 0.426 WXDAI ] 

@0x4007
Contributions Overview
ViewContributionCountReward
IssueComment10.426
Conversation Incentives
CommentFormattingRelevanceReward
This error doesn't make sense it should be removed.
0.71
content:
  content:
    p:
      score: 0
      elementCount: 1
  result: 0
regex:
  wordCount: 10
  wordValue: 0.1
  result: 0.71
0.60.426