Skip to content

Commit 8cb7151

Browse files
authored
Merge pull request #30 from geerteltink/docs/explain-scope
Explain the needed scopes for the admin token
2 parents ceb2a20 + f0a4fad commit 8cb7151

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ to your project or organization:
2929
- `SIGNING_SECRET_KEY` - a **password-less** private GPG key in ASCII format, to be used for signing your releases:
3030
please use a dedicated GPG subkey for this purpose. Unsigned releases are not supported, and won't be supported.
3131
- `ORGANIZATION_ADMIN_TOKEN` - if you use the file from [`examples/.github/workflows/release-on-milestone-closed.yml`](examples/.github/workflows/release-on-milestone-closed.yml),
32-
then you have to provide a `ORGANIZATION_ADMIN_TOKEN`, which is a github token with administrative rights over
33-
your organization (issued by a user that has administrative rights over your project).
32+
then you have to provide a `ORGANIZATION_ADMIN_TOKEN` (with a full repo scope), which is a github token with
33+
administrative rights over your organization (issued by a user that has administrative rights over your project).
3434
This is required for the `laminas:automatic-releases:switch-default-branch-to-next-minor`
3535
command, because [changing default branch of a repository currently requires administrative token rights](https://developer.github.com/v3/repos/#update-a-repository).
3636
You can generate a token from your [personal access tokens page](https://github.com/settings/tokens/new).

0 commit comments

Comments
 (0)