Skip to content

Commit 0acfbba

Browse files
legendecasmhdawson
andauthored
doc: import-in-the-middle release token (#902)
Co-authored-by: Michael Dawson <mdawson@devrus.com>
1 parent 81d2d25 commit 0acfbba

File tree

1 file changed

+12
-3
lines changed

1 file changed

+12
-3
lines changed

request-an-access-token.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ steps as:
2020
and requested permission scopes only.
2121
1. Save the token as a repository secret at `https://github.com/<org>/<repo>/settings/secrets/actions`,
2222
do not reveal the token to the anyone in plaintext.
23+
1. If necessary, grant write access to [`@nodejs-github-bot`][] at
24+
`https://github.com/<org>/<repo>/settings/access`.
2325
1. Land the PR.
2426

2527
Fine-grained tokens created with access to https://github.com/nodejs resources will
@@ -34,9 +36,16 @@ The "secret name" is a string that the secret can be referenced in the GitHub Ac
3436
scripts. Like a secret name of `RELEASE_PLEASE_TOKEN` can be accessed from the script
3537
as `${{ secrets.RELEASE_PLEASE_TOKEN }}`.
3638

37-
Repo | Secret name
38-
--- | ---
39-
nodejs/import-in-the-middle | RELEASE_PLEASE_GITHUB_TOKEN
39+
The "expiration date" is the date before which the token should be renewed and
40+
replaced. This should be no longer than 1 year.
41+
42+
The "pull request" is the PR that initially requested the token, or requested
43+
permission scope changes. The PR should describe the permission scopes requested.
44+
45+
Repo | Secret name | Expiration date | Pull Request |
46+
--- | --- | --- | --- |
47+
[`nodejs/import-in-the-middle`][] | `RELEASE_PLEASE_GITHUB_TOKEN` | 2025-07-23 | <https://github.com/nodejs/admin/pull/902> |
4048

4149

4250
[`@nodejs-github-bot`]: https://github.com/nodejs-github-bot
51+
[`nodejs/import-in-the-middle`]: https://github.com/nodejs/import-in-the-middle

0 commit comments

Comments
 (0)