Giter Site home page Giter Site logo

Comments (3)

devmaxde avatar devmaxde commented on June 6, 2024

Maybe some more context. I am using this workflow in a private Organisation repository. I censored the Name of the organization and the repo in the logs. That's why you'll only see organization/private-repo as the git url

from release-changelog-builder-action.

mikepenz avatar mikepenz commented on June 6, 2024

@mibkvr it seems based on the log:

2023-09-03T20:58:24.6596756Z ℹī¸ Fetching PRs between dates 2023-09-03T20:55:27.000Z to 2023-09-03T20:55:27.000Z for organisation/private-reop
2023-09-03T20:58:24.8901416Z ##[error]Resource not accessible by integration

That this does occur right when we try to fetch the PRs. So this would indicate that the provided token GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} does not have read access to PULL_REQUESTS. (https://github.com/mikepenz/release-changelog-builder-action?tab=readme-ov-file#token-permission)

https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs#defining-access-for-the-github_token-scopes

from release-changelog-builder-action.

devmaxde avatar devmaxde commented on June 6, 2024

Yeah.
The Permissions were missing. Maybe add them to the example.
`
permissions:

contents: write

discussions: write

pull-requests: read`

Thx @mikepenz

from release-changelog-builder-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.