Skip to content

Add an optional input repository_ids #106

Open
@suzuki-shunsuke

Description

@suzuki-shunsuke

What?

Add an optional input repository_ids, which is a list of repository IDs that the token should have access to.

https://docs.github.com/en/rest/apps/apps?apiVersion=2022-11-28#create-an-installation-access-token-for-an-app

          repository_ids: >-
            [${{github.repository_id}}]

Why?

To limit repositories.
The advantage of repository_ids compared with repositories is that we can get repository_id from github context's github.repository easily.
On the other hand, it is a little difficult to get a repository name from github context.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions