Skip to content

Support tokens with access to custom repositories and user/organization accounts #4

Description

@parkerbxyz

The use cases we want to cover is

  1. By default, create a token scoped to the current repository
  2. Allow to scope to a set of repositories by names for the current owner
  3. Allow to scope to a different owner (all installation repositories)
  4. Allow to scope to a set of repositories by names for a different owner

Our API idea is

      - uses: actions/create-github-app-token@v1
        id: app-token
        with:
          app_id: ${{ vars.APP_ID }}
          private_key: ${{ secrets.PRIVATE_KEY }}
          owner: some-owner
          repositories: some-repo1,some-repo2

Both owner and repositories would be optional, and one can be set to the other. owner defaults to the current repository owner, and repositories defaults to the current repository name.

Activity

  1. kmaehashi commented on Sep 10, 2023

    @kmaehashi
  2. gr2m commented on Sep 10, 2023

    @gr2m
  3. changed the title [-]Support custom repositories[/-] [+]Support tokens with access to custom repositories and user/organization accounts[/+] on Sep 10, 2023
  4. jentfoo commented on Sep 19, 2023

    @jentfoo

    This is an important feature for some of my use cases as well. Notably I need to be able to remove the repository restriction for automation which works across the organization.

  5. zoezhangmattr commented on Sep 21, 2023

    @zoezhangmattr

    could we get this supported please, would be real useful,
    thanks!

  6. create-app-token-action-releaser commented on Oct 4, 2023

    @create-app-token-action-releaser
    Contributor

    🎉 This issue has been resolved in version 1.3.0 🎉

    The release is available on GitHub release

    Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions