|
192 | 192 |
|
193 | 193 | ### `scripts/` |
194 | 194 |
|
195 | | -Installation and setup scripts for various operating systems are available here. |
| 195 | +Installation and setup scripts for various operating systems are available here, |
| 196 | +along with scripts that support the release process. |
196 | 197 |
|
197 | 198 | ### `test/` |
198 | 199 |
|
@@ -526,15 +527,20 @@ For these changes to complete, certain application permissions are needed: |
526 | 527 |
|
527 | 528 | - **Actions**: Read and write |
528 | 529 | - **Contents**: Read and write |
| 530 | +- **Issues**: Read and write |
529 | 531 | - **Metadata**: Read |
530 | 532 | - **Pull requests**: Read and write |
531 | 533 | - **Workflows**: Read and write |
532 | 534 |
|
| 535 | +The **Issues** permission is needed to create, rename, and close milestones. |
| 536 | +Note that adding a permission to the app is not enough on its own, since each |
| 537 | +existing installation must also be granted the new permission. |
| 538 | + |
533 | 539 | Access to this project is also required with the selected application scopes. |
534 | 540 |
|
535 | 541 | Credentials and secrets for the app can be stored as the following variables: |
536 | 542 |
|
537 | | -- `GH_APP_ID_RELEASER` |
| 543 | +- `GH_APP_CLIENT_ID_RELEASER` |
538 | 544 | - `GH_APP_PRIVATE_KEY_RELEASER` |
539 | 545 |
|
540 | 546 | #### Bumping Go package versions |
@@ -800,7 +806,16 @@ Steps to triage a pull request: |
800 | 806 | 4. **Milestone**: |
801 | 807 | - A milestone should be assigned when possible, usually as the `Next Release` |
802 | 808 | - After a release, the `Next Release` milestone is renamed to the tagged |
803 | | - version |
| 809 | + version and closed, while a new `Next Release` milestone gathers the issues |
| 810 | + and pull requests that remain open |
| 811 | + - This happens automatically with [this workflow][wf-milestone] when a |
| 812 | + production release is published, but can also be done by hand: |
| 813 | + ```sh |
| 814 | + $ DRY_RUN=true ./scripts/triage-milestone.sh v4.8.0 |
| 815 | + $ ./scripts/triage-milestone.sh v4.8.0 |
| 816 | + ``` |
| 817 | + - The `Next Release` milestone must keep this exact name because release and |
| 818 | + dependency automation assigns pull requests to it by title |
804 | 819 |
|
805 | 820 | #### Pull request: merge |
806 | 821 |
|
@@ -853,3 +868,4 @@ When in doubt, find the other maintainers and ask. |
853 | 868 | [sync]: https://github.com/slackapi/slack-cli/blob/main/.github/workflows/sync-docs-from-cli-repo.yml |
854 | 869 | [vscode]: https://github.com/slackapi/slack-cli/blob/main/.vscode/settings.json |
855 | 870 | [wf-dependencies]: ./workflows/dependencies.yml |
| 871 | +[wf-milestone]: ./workflows/milestone.yml |
0 commit comments