Personal access token
- [ ] Add Gitlab Personal access token
- [ ] Be able to use personal access tokens (Github, Kaggle, Gitlab)
It would be great if one could add personnal access tokens from several repositories (github.com, gitlab.com, ...) and to name them accordingly.
For instance, it'd be nice to have the my account --> external services menu suggest :
================================================================= Connect your Gitlab, Github and Kaggle accounts
Connect your services to external accounts using personal access tokens and environment variables
| Git repo name | Personal access token | Environement variable | actions |
|---|---|---|---|
| github.com | ************************ | $GIT_PERSONAL_ACCESS_TOKEN (default) |
👁️ 🖊️ |
| gitlab.com | ************************ | $GITLAB_PERSONAL_ACCESS_TOKEN |
👁️ 🖊️ |
| gitlab.my_company.com | ************************ | $GITLAB_MY_ENTERPRISE_PERSONAL_ACCESS_TOKEN |
👁️ 🖊️ |
Hi,
Thanks for the suggestion.
Github is a special token, it allows to automatically clone private token.
For the more generic token you can use the "My secrets". The secret you create there can be made available as environment variable in your services.
Have you tried that?