mirror of
https://github.com/stefanzweifel/git-auto-commit-action.git
synced 2024-11-06 02:08:05 +00:00
docs(README): fix broken protected branch docs link (#346)
This commit is contained in:
parent
e961da7576
commit
573710f3d0
@ -444,7 +444,7 @@ See [#322](https://github.com/stefanzweifel/git-auto-commit-action/issues/322) f
|
|||||||
|
|
||||||
### Push to protected branches
|
### Push to protected branches
|
||||||
|
|
||||||
If your repository uses [protected branches](https://help.github.com/en/github/administering-a-repository/configuring-protected-branches) you have to make some changes to your Workflow for the Action to work properly: You need a Personal Access Token and you either have to allow force pushes or the Personal Access Token needs to belong to an Administrator.
|
If your repository uses [protected branches](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/managing-protected-branches/about-protected-branches) you have to make some changes to your Workflow for the Action to work properly: You need a Personal Access Token and you either have to allow force pushes or the Personal Access Token needs to belong to an Administrator.
|
||||||
|
|
||||||
First, you have to create a new [Personal Access Token (PAT)](https://github.com/settings/tokens/new),
|
First, you have to create a new [Personal Access Token (PAT)](https://github.com/settings/tokens/new),
|
||||||
store the token as a secret in your repository and pass the new token to the [`actions/checkout`](https://github.com/actions/checkout#usage) Action step.
|
store the token as a secret in your repository and pass the new token to the [`actions/checkout`](https://github.com/actions/checkout#usage) Action step.
|
||||||
|
Loading…
Reference in New Issue
Block a user