mirror of
https://github.com/cycjimmy/semantic-release-action.git
synced 2025-11-07 10:46:56 +00:00
docs: clarify git plugin credential usage on protected branches
This commit is contained in:
parent
5a010174b5
commit
1d1b6af9f4
1 changed files with 1 additions and 1 deletions
|
|
@ -26,7 +26,7 @@ steps:
|
|||
```
|
||||
|
||||
**IMPORTANT**: `GITHUB_TOKEN` does not have the required permissions to operate on protected branches.
|
||||
If you are using this action for protected branches, replace `GITHUB_TOKEN` with [Personal Access Token](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line).
|
||||
If you are using this action for protected branches, replace `GITHUB_TOKEN` with [Personal Access Token](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line). If using the `@semantic-release/git` plugin for protected branches, avoid persisting credentials as part of `actions/checkout@v2` by setting the parameter `persist-credentials: false`. This credential does not have the required permission to operate on protected branches.
|
||||
|
||||
### Inputs
|
||||
| Input Parameter | Required | Description |
|
||||
|
|
|
|||
Loading…
Reference in a new issue