Skip to content

Commit 518c25d

Browse files
committed
updated permissions with semantically correct formatting
Signed-off-by: Fabrice Flore-Thébault <[email protected]>
1 parent c02215c commit 518c25d

File tree

1 file changed

+44
-12
lines changed

1 file changed

+44
-12
lines changed

modules/integrating-with-github/proc-enabling-github-repository-discovery.adoc

Lines changed: 44 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -28,19 +28,51 @@ Enter your {product-short} URL: `pass:c,a,q[{my-product-url}]`.
2828
Webhook secret::
2929
Enter a strong secret.
3030

31-
Repository permissions::
32-
* Enable `Read-only` access to:
33-
*** *Administration*
34-
*** *Commit statuses*
35-
*** *Contents*
36-
*** *Dependabot alerts*
37-
*** *Deployments*
38-
*** *Pull Requests*
39-
*** *Webhooks*
40-
+
41-
TIP: If you plan to make changes using the GitHub API, ensure that `Read and write` permissions are enabled instead of `Read-only`.
31+
App permissions::
32+
Select permissions to define the level of access for the app.
33+
Adapt permissions to your needs:
34+
35+
Reading software components:::
36+
37+
Contents::::
38+
`Read-only`
39+
40+
Commit statuses::::
41+
`Read-only`
42+
43+
Reading organization data:::
44+
45+
Members::::
46+
`Read-only`
47+
48+
Publishing software templates:::
49+
50+
Administration::::
51+
`Read & write` (for creating repositories)
52+
53+
Contents::::
54+
`Read & write`
55+
56+
Metadata::::
57+
`Read-only`
58+
59+
Pull requests::::
60+
`Read & write`
61+
62+
Issues::::
63+
`Read & write`
64+
65+
Workflows::::
66+
`Read & write` (if templates include GitHub workflows)
67+
68+
Variables::::
69+
`Read & write` (if templates include GitHub Action Repository Variables)
70+
71+
Secrets::::
72+
`Read & write` (if templates include GitHub Action Repository Secrets)
4273

43-
* Enable other permissions as per your needs.
74+
Environments::::
75+
`Read & write` (if templates include GitHub Environments)
4476

4577
Organization permissions::
4678
* Enable `Read-only` access to *Members*.

0 commit comments

Comments
 (0)