Skip to content
Snippets Groups Projects
Commit 396cdf26 authored by Guilhem Bonnefille's avatar Guilhem Bonnefille
Browse files

docs: fix access token description

The write_repository allow read action.
It is needed to offer Maintainer role in order to affect protected branch.
parent ba1d66e0
No related branches found
No related tags found
No related merge requests found
...@@ -324,7 +324,7 @@ The template handles both classic variable and file variable. ...@@ -324,7 +324,7 @@ The template handles both classic variable and file variable.
Simply specify :lock: `$GIT_USERNAME` and :lock: `$GIT_PASSWORD` as protected project variables and they will be dynamically Simply specify :lock: `$GIT_USERNAME` and :lock: `$GIT_PASSWORD` as protected project variables and they will be dynamically
evaluated and appended to the Maven release arguments. evaluated and appended to the Maven release arguments.
Note that the password should be an access token with `read_repository` and `write_repository` scopes. Note that the password should be an access token with `write_repository` scope and `Maintainer` role.
:warning: The `scm` connections in your `pom.xml` should use the `https` protocol :warning: The `scm` connections in your `pom.xml` should use the `https` protocol
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment