Code Monkey home page Code Monkey logo

Comments (4)

testworksau avatar testworksau commented on June 10, 2024 1

Will do; can you reopen the issue so I can raise a PR?

Or do you want me to just add it to:
#654

from github-action.

rarkins avatar rarkins commented on June 10, 2024

You need to specify username in your Renovate config. See https://docs.renovatebot.com/modules/platform/github/#running-as-a-github-app for more details about running as a github app

from github-action.

testworksau avatar testworksau commented on June 10, 2024

Thanks for the quick reply @rarkins

I wonder if it's worth mentioning this in this section of the readme as I don't recall coming across this document there?

Do the other GitHub App permissions listed in that document also apply? I'm assuming they do, given I'm still seeing issues like this in the logs (although the build has succeeded - not sure if that's intentional?)

 WARN: Error fetching GraphQL nodes (repository=ourname/a-valid-repo-name)
       "query": "\nquery(\n  $owner: String!,\n  $name: String!,\n  $user: String!,\n  $count: Int,\n  $cursor: String\n) {\n  repository(owner: $owner, name: $name) {\n    issues(\n      orderBy: { field: UPDATED_AT, direction: DESC },\n      filterBy: { createdBy: $user },\n      first: $count,\n      after: $cursor\n    ) {\n      pageInfo {\n        endCursor\n        hasNextPage\n      }\n      nodes {\n        number\n        state\n        title\n        body\n      }\n    }\n  }\n}\n",
       "options": {
         "variables": {
           "owner": "ourname",
           "name": "a-valid-repo-name",
           "user": "renovate [ourname][bot]"
         }
       },
       "res": {
         "data": {"repository": null},
         "errors": [
           {
             "type": "FORBIDDEN",
             "path": ["repository", "issues"],
             "extensions": {"saml_failure": false},
             "locations": [{"line": 10, "column": 5}],
             "message": "Resource not accessible by integration"
           }
         ]
       }

image

from github-action.

rarkins avatar rarkins commented on June 10, 2024

Sure, it would be a good idea to link to the general GitHub App docs.

I would also recommend you try getting it to work with a PAT first and then switch to GitHub App, so that you are testing less unknowns at once

I know you have redacted this, but if you have any spaces or additional [] in it then it won't be right: "user": "renovate [ourname][bot]"

It will be letters and hyphens followed by [bot], e.g. renovate-ourname[bot]

from github-action.

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.