Giter Site home page Giter Site logo

Comments (16)

ebidel avatar ebidel commented on May 11, 2024

If you're trying to run your own CI server, the lighthouse bot won't work with that setup. That's because you don't have the correct .oauth_token credentials. Instead, I'd get an oauth token for yourself, follow the instructions at https://github.com/ebidel/lighthouse-ci#running-your-own-ci-server, and it will post as you.

from lighthousebot.

ankeetmaini avatar ankeetmaini commented on May 11, 2024

No, I created my own .oauth_token, it's just that if I don't accept the collaborator request github api doesn't allow to change the status.

See this PR -> ankeetmaini/react-hn#11, here your bot posts a comment but fails to mark the PR as a failure.

The one I tried with my own .oauth_token passes because I accepted the collaborator request from my bot account visible in the screenshot perf-bot ankeetmaini/react-hn#9
screen shot 2017-09-18 at 10 17 13 pm

from lighthousebot.

ankeetmaini avatar ankeetmaini commented on May 11, 2024

So I'm guessing that the lighthousebot account needs to accept collaborator request from all the repos. Correct me if I am wrong?

from lighthousebot.

ebidel avatar ebidel commented on May 11, 2024

I see what you mean! Didn't realize there was an invitation link to collaborate on repos. I accepted your invite.

Hmm, do you know of a way to work around that? Email invites are not going to scale well :(

from lighthousebot.

ankeetmaini avatar ankeetmaini commented on May 11, 2024

from lighthousebot.

ebidel avatar ebidel commented on May 11, 2024

An Authorization header with the user's oauth token would be great, but that would that work?
Wouldn't that also post as the user and not the lighthouse bot profile icon?

from lighthousebot.

ankeetmaini avatar ankeetmaini commented on May 11, 2024

from lighthousebot.

ankeetmaini avatar ankeetmaini commented on May 11, 2024

from lighthousebot.

ebidel avatar ebidel commented on May 11, 2024

Those might be an option. Without a proper Github Integration, I do like that users see the official name and icon:

27059055-70ba6e86-4f89-11e7-8ead-932aab0f2634

Otherwise, they're going to see themselves and their name. Could be confusing.

Right now the volume of collaborator emails is low. I was just ignoring them :(

from lighthousebot.

ankeetmaini avatar ankeetmaini commented on May 11, 2024

Let me know if I can help in resolving this!

from lighthousebot.

schoenwaldnils avatar schoenwaldnils commented on May 11, 2024

Hi, I'm having the same issue.

Even when I dont use my own CI server.

https://travis-ci.org/schoenwaldnils/timeline/builds/287505971
schoenwaldnils/timeline#1

The comment is there, but I don't get a failing test.

from lighthousebot.

ebidel avatar ebidel commented on May 11, 2024

@schoenwaldnils That setup looks good to me. You've got the bot as a collaborator on the repo and using an API as the Travis env https://github.com/ebidel/lighthouse-ci#get-an-api-key?

from lighthousebot.

schoenwaldnils avatar schoenwaldnils commented on May 11, 2024

It works now. I might had to wait until @lighthousebot accepts the collaborator-request.

from lighthousebot.

riderx avatar riderx commented on May 11, 2024

3 days and lighthouse still didn't accept :/ how can i change that ?

from lighthousebot.

EoinTraynor avatar EoinTraynor commented on May 11, 2024

This is obviously still an ongoing issue.
What is the expected duration for lighthouse to accept my collaborator-request? It's been 6 days since I have requested it.

from lighthousebot.

krzkaczor avatar krzkaczor commented on May 11, 2024

If anyone still needs it lighthouse-keeper supports failing PRs if score is too low, as well as tracking score changes between PRs and many other things. Cheers!

from lighthousebot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.