From 19ee1b464c05fd98701cf5a3de0143843990d13d Mon Sep 17 00:00:00 2001 From: bluwy Date: Sat, 1 Aug 2026 17:11:27 +0800 Subject: [PATCH 1/2] Add extra permission docs --- README.md | 3 +++ select-mode/README.md | 3 +++ version/README.md | 3 +++ 3 files changed, 9 insertions(+) diff --git a/README.md b/README.md index 9b16ad29..9ada1d18 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,9 @@ If using [trusted publishing](https://docs.npmjs.com/trusted-publishers), it's r - `id-token: write`: if using [trusted publishing](https://docs.npmjs.com/trusted-publishers) - [Workflow triggers][workflow-triggers]: _any_ +> [!NOTE] +> In your repository settings, in `Actions > General`, also ensure `Allow GitHub Actions to create and approve pull requests` option is enabled + ### Usage > [!TIP] diff --git a/select-mode/README.md b/select-mode/README.md index 2b5462e1..3b7abc42 100644 --- a/select-mode/README.md +++ b/select-mode/README.md @@ -28,3 +28,6 @@ Inputs: _none_ | `publish-plan-artifact-id` | Artifact id for the generated publish plan when mode is `publish` | + +[job-permissions]: https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idpermissions +[workflow-triggers]: https://docs.github.com/en/actions/reference/workflows-and-actions/events-that-trigger-workflows diff --git a/version/README.md b/version/README.md index 77e54e93..b6fef338 100644 --- a/version/README.md +++ b/version/README.md @@ -10,6 +10,9 @@ This action versions packages and creates or updates a pull request with the cha - `pull-requests: write`: to create pull request - [Workflow triggers][workflow-triggers]: _any_ +> [!NOTE] +> In your repository settings, in `Actions > General`, also ensure `Allow GitHub Actions to create and approve pull requests` option is enabled + ## Usage > [!TIP] From 89811bba7781437f4a8886c19ba3ceacc22592ac Mon Sep 17 00:00:00 2001 From: bluwy Date: Sat, 1 Aug 2026 17:12:15 +0800 Subject: [PATCH 2/2] Update --- README.md | 2 +- version/README.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9ada1d18..febb4abb 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ If using [trusted publishing](https://docs.npmjs.com/trusted-publishers), it's r - [Workflow triggers][workflow-triggers]: _any_ > [!NOTE] -> In your repository settings, in `Actions > General`, also ensure `Allow GitHub Actions to create and approve pull requests` option is enabled +> In your repository settings, in `Actions > General`, also ensure the `Allow GitHub Actions to create and approve pull requests` option is enabled ### Usage diff --git a/version/README.md b/version/README.md index b6fef338..4c1ff0a1 100644 --- a/version/README.md +++ b/version/README.md @@ -11,7 +11,7 @@ This action versions packages and creates or updates a pull request with the cha - [Workflow triggers][workflow-triggers]: _any_ > [!NOTE] -> In your repository settings, in `Actions > General`, also ensure `Allow GitHub Actions to create and approve pull requests` option is enabled +> In your repository settings, in `Actions > General`, also ensure the `Allow GitHub Actions to create and approve pull requests` option is enabled ## Usage