prebuilt-amiga-dev-tools / vasmm68k-build

vasmm68k pre-built for Windows, Linux and MacOS
Other
2 stars 1 forks source link

Figure out minimum scopes needed by API token for Homebrew #71

Closed Kalmalyzer closed 4 years ago

Kalmalyzer commented 4 years ago

The token will be used to fork a repo, push commits to the repo, and create pull requests. Is it enough to have a token with no access scopes?

Once figured out, document & use those scopes for testing & prod.

Kalmalyzer commented 4 years ago

These tokens & scopes & memberships are needed:

APT_REPO__REPOSITORY_DISPATCH__TOKEN : machine user, repo scopes, member of apt repo

THIS_REPO__REPOSITORY_DISPATCH__TOKEN : machine user, repo scopes, member of this repo

THIS_REPO__PUSH__TOKEN : machine user, repo scopes, member of this repo

HOMEBREW_REPO__FORK_AND_UPDATE__TOKEN : machine user, repo scopes, not a member of any particular groups