Commit f4d04c4
authored
fix: gitlab example for trusted publishing (#1710)
I haven't been quite able to make trusted publishing work in GitLab (see
npm/cli#8558), but I do think the example is
incorrect. `id_tokens` is not a valid global keyword. It needs to be
specified under `default` or a job. I think a job makes more sense.
Reference:
* https://docs.gitlab.com/ci/yaml/#global-keywords
* https://docs.gitlab.com/ci/yaml/#default
* https://docs.gitlab.com/ci/yaml/#id_tokens1 parent a69464d commit f4d04c4
File tree
1 file changed
+3
-4
lines changed- content/packages-and-modules/securing-your-code
1 file changed
+3
-4
lines changedLines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
118 | 118 | | |
119 | 119 | | |
120 | 120 | | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | 121 | | |
126 | 122 | | |
127 | 123 | | |
| |||
132 | 128 | | |
133 | 129 | | |
134 | 130 | | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
135 | 134 | | |
136 | 135 | | |
137 | 136 | | |
| |||
0 commit comments