Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
parkerbxyz opened this issue Jun 8, 2023 · 5 comments · Fixed by #46
Closed
Labels
feature New feature or request released

Comments

@parkerbxyz
Copy link
Contributor

parkerbxyz commented Jun 8, 2023

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.

@kmaehashi

This comment was marked as off-topic.

@gr2m

This comment was marked as off-topic.

@gr2m gr2m changed the title Support custom repositories Support tokens with access to custom repositories and user/organization accounts Sep 10, 2023
@jentfoo
Copy link

jentfoo commented Sep 19, 2023

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.

@zoezhangmattr
Copy link

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

@create-app-token-action-releaser

🎉 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
Labels
feature New feature or request released
Projects
None yet
5 participants