Commit d37bd90 1 parent f59f8ba commit d37bd90 Copy full SHA for d37bd90
File tree 1 file changed +12
-3
lines changed
docs/src/content/docs/nativelink-cloud
1 file changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -12,19 +12,28 @@ for use with GitHub Actions.
12
12
[ GitHub Repository Secrets Tutorial] ( https://docs.github.com/en/actions/security-guides/using-secrets-in-github-actions#creating-secrets-for-a-repository )
13
13
14
14
They can be access via the secrets context i.e.
15
- ```
15
+ ``` bash
16
16
${{ secrets.YourSecretKeyName } }
17
17
```
18
18
19
+ ### Read Only keys
19
20
:::note
20
21
If your repository uses forks for pull requests (PRs), note that the secrets
21
22
context isn't accessible from PRs originating from forks. To address this,
22
- we will soon introduce Read-Only keys.
23
+ we introduced Read-Only keys.
24
+ :::
23
25
24
26
Read-Only keys can be used for PRs and stored in the vars context. For
25
27
merge-to-main actions, use a Read/Write key stored in the secrets context.
26
- :::
27
28
29
+ For Read Only API Keys you need to set these two flags:
30
+
31
+ ``` bash
32
+ --nogenerate_json_trace_profile
33
+ --remote_upload_local_results=false
34
+ ```
35
+
36
+ ## Third-Party Secrets Management
28
37
If you need info on setting up API keys for different CI environments, ask in
29
38
the [ Slack channel] ( https://nativelink.slack.com/join/shared_invite/zt-281qk1ho0-krT7HfTUIYfQMdwflRuq7A#/shared-invite/email )
30
39
or open an issue on our [ GitHub] ( https://github.com/TraceMachina/nativelink ) .
You can’t perform that action at this time.
0 commit comments