Commit 54e90ce
committed
Create GitLab CI/CD variables with visibility masked and hidden on init
"Masked and hidden" means: The variable value is masked in job logs and
can never be revealed in the CI/CD settings after the variable has been
saved.
This is consistent with the workflow for creating and updating new
access tokens on both GitLab and Zenodo, where a token can never be
revealed after it has been saved.
GitLab API docs: https://docs.gitlab.com/api/project_level_variables/#create-a-variable1 parent 3a92f42 commit 54e90ce
2 files changed
Lines changed: 10 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
599 | 599 | | |
600 | 600 | | |
601 | 601 | | |
602 | | - | |
| 602 | + | |
603 | 603 | | |
604 | 604 | | |
605 | 605 | | |
606 | 606 | | |
607 | 607 | | |
608 | | - | |
| 608 | + | |
609 | 609 | | |
610 | 610 | | |
611 | 611 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
120 | 120 | | |
121 | 121 | | |
122 | 122 | | |
123 | | - | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
124 | 131 | | |
125 | 132 | | |
126 | 133 | | |
| |||
0 commit comments