Giter Club home page Giter Club logo

Comments (7)

RoelAdriaans avatar RoelAdriaans commented on August 17, 2024

The reason for this is issue #214 , the automation does not have enough rights to your repository.
This can be fixed with:

...
    steps:
      - id: automerge
        name: automerge
        uses: "pascalgn/[email protected]"
        permissions:
          contents: write
...

from automerge-action.

pascalgn avatar pascalgn commented on August 17, 2024

I've updated the README and closed #214, so I think this one can also be closed.

from automerge-action.

chickenandpork avatar chickenandpork commented on August 17, 2024

Thanks @pascalgn ; I hope it fixes it. I forget now where I was trying this.

Did you see where I asked:

It would be awesome if the inaccessible Resource was named

Is that just assumed to be the repository, or if the error's on write, maybe it was worth logging what was refused? It's kinda frustrating to see "something was refused" with no real way to find out what :(

from automerge-action.

chickenandpork avatar chickenandpork commented on August 17, 2024

Oh, wait, my failure already had permissions: check my copy of config above:

      ...
      # Note: Advice from https://github.com/pascalgn/automerge-action/issues/214
      contents: write
      ...

So this workaround from #214 was already in place? Or was it incorrectly in place ? Otherwise, the thing that's there in the problem example can't fix the problem.

from automerge-action.

pascalgn avatar pascalgn commented on August 17, 2024

I think it's not clear from the logging, but the error message comes directly from GitHub. If you search for "Resource not accessible by integration" you find lots of other people who are having various problems when calling the GitHub API. I agree that the error message is not helpful.

from automerge-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.