Skip to content

[BUG]: list repo workflows permission incorrectΒ #280

@jeffwilcox

Description

@jeffwilcox

What happened?

Here's the current data in api.github.com.json in 2.1.0:

    "/repos/{owner}/{repo}/actions/workflows/{workflow_id}": {
      "GET": { "permission": "contents", "access": "read" }
    },

However, the docs https://docs.github.com/en/enterprise-cloud@latest/rest/actions/workflows?apiVersion=2022-11-28#list-repository-workflows show it needs actions read, not "contents".

Honestly haven't clicked around much to understand how the scraping works or if there's another data source that needs correcting. Happy to submit improvements with some direction.

Versions

octokit-rest.js/22.0.1 octokit-core.js/7.0.6 Node.js/22

Relevant log output

Typical "Resource not accessible by integration"

Code of Conduct

  • I agree to follow this project's Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: TriageThis is being looked at and prioritizedType: BugSomething isn't working as documented

    Type

    No type

    Projects

    Status

    πŸ†• Triage

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions