Add extra permission docs (#704)

* Add extra permission docs

* Update
This commit is contained in:
Bjorn Lu
2026-08-01 09:35:59 +00:00
committed by GitHub
parent 64b747d5f5
commit 50de20a107
3 changed files with 9 additions and 0 deletions
+3
View File
@@ -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 the `Allow GitHub Actions to create and approve pull requests` option is enabled
### Usage
> [!TIP]
+3
View File
@@ -28,3 +28,6 @@ Inputs: _none_
| `publish-plan-artifact-id` | Artifact id for the generated publish plan when mode is `publish` |
<!-- api-end -->
[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
+3
View File
@@ -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 the `Allow GitHub Actions to create and approve pull requests` option is enabled
## Usage
> [!TIP]