Skip to content

Commit d2622bd

Browse files
authored
Merge pull request SvanBoxel#5 from krauthosting/readme
Improve doc on GitLab tokens as GitHub secrets
2 parents 8559813 + 10e8c77 commit d2622bd

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

README.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,7 @@ jobs:
3030
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} // https://help.github.com/en/articles/virtual-environments-for-github-actions#github_token-secret
3131
```
3232

33-
Be sure to define the `GITLAB_PASSWORD` secret.
33+
Be sure to define the `GITLAB_PASSWORD` secret in `https://github.com/<namespace>/<repository>/settings/secrets`
34+
Before setup a token to use as `GITLAB_PASSWORD` here https://gitlab.com/profile/personal_access_tokens
35+
The token must have `read_api`, `read_repository` & `write_repository` permissions in GitLab.
36+
For granular permissions create seperate users and tokens in GitLab with restricted access.

0 commit comments

Comments
 (0)