ubiquibot / comment-incentives

0 stars 10 forks source link

Posting to Private Repositories #5

Closed 0x4007 closed 4 months ago

0x4007 commented 5 months ago

I'm assuming this crashed because AXIOS doesn't support GitHub authentication. Perhaps the comment should be posted with authenticated Octokit instead.

+ Evaluating results. Please wait...

https://github.com/ubiquibot/comment-incentives/actions/runs/7694293618/job/20964796364 @wannacfuture not sure what happened here.

Originally posted by @pavlovcik in https://github.com/ubiquity/card-issuance/issues/9#issuecomment-1914368825

ubiquibot[bot] commented 5 months ago

@wannacfuture the deadline is at 2024-01-29T14:12:56.497Z

ubiquibot[bot] commented 4 months ago
# No linked pull requests to close
gentlementlegen commented 4 months ago

/start

ubiquibot[bot] commented 4 months ago

DeadlineWed, Feb 28, 6:09 AM UTC
Registered Wallet 0x0fC1b909ba9265A846b82CF4CE352fc3e7EeB2ED
Tips:
gentlementlegen commented 4 months ago

@pavlovcik from what I see here, it's because the axios call tried to reach the card-issuance repository which is indeed private, so got a 404. Any reason that the comments are parsed from the web page instead of using Octokit to access them? I believe the fix is to replace these fetch of pull request comments with Octokit calls, and use the GitHub token from the Action to authenticate.

0x4007 commented 4 months ago

Honestly I have mixed feelings about continuing to invest in this repository because i hit a milestone with the next version.

However it might be worthwhile to get familiar with the code and then perhaps get familiar with the new version as well.

I took an entirely authenticated approach. It's not usable yet though because all it does is collect all the user activity.

The next part will be to calculate the comment incentives. Although I would like to take that as far as I can this week before preparing new issues and handing it off.

ubiquibot[bot] commented 4 months ago
# Issue was not closed as completed. Skipping.