Skip to content

Commit 8783f59

Browse files
thispsjmchammer01lucascosti
authored
Update steps to create repo secrets (#18175)
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com> Co-authored-by: Lucas Costi <lucascosti@users.noreply.github.com>
1 parent 2dc0614 commit 8783f59

File tree

5 files changed

+13
-11
lines changed

5 files changed

+13
-11
lines changed

content/code-security/dependabot/working-with-dependabot/managing-encrypted-secrets-for-dependabot.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ The name of a {% data variables.product.prodname_dependabot %} secret:
4949

5050
{% data reusables.repositories.navigate-to-repo %}
5151
{% data reusables.repositories.sidebar-settings %}
52-
{% data reusables.actions.sidebar-secret %}
53-
{% data reusables.dependabot.dependabot-secrets-button %}
52+
{% data reusables.dependabot.sidebar-secret %}
5453
1. Click **New repository secret**.
5554
1. Type a name for your secret in the **Name** input box.
5655
1. Enter the value for your secret.
@@ -68,8 +67,7 @@ When creating a secret in an organization, you can use a policy to limit which r
6867

6968
{% data reusables.organizations.navigate-to-org %}
7069
{% data reusables.organizations.org_settings %}
71-
{% data reusables.actions.sidebar-secret %}
72-
{% data reusables.dependabot.dependabot-secrets-button %}
70+
{% data reusables.dependabot.sidebar-secret %}
7371
1. Click **New organization secret**.
7472
1. Type a name for your secret in the **Name** input box.
7573
1. Enter the **Value** for your secret.

content/codespaces/managing-codespaces-for-your-organization/managing-encrypted-secrets-for-your-repository-and-organization-for-github-codespaces.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ To create secrets for an organization repository, you must have administrator ac
4343

4444
{% data reusables.repositories.navigate-to-repo %}
4545
{% data reusables.repositories.sidebar-settings %}
46-
1. In the "Security" section of the sidebar, select **{% octicon "key-asterisk" aria-label="The key-asterisk icon" %} Secrets** then click **{% data variables.product.prodname_codespaces %}**.
46+
{% data reusables.codespaces.sidebar-secret %}
47+
4748
2. At the top of the page, click **New repository secret**.
4849
3. Type a name for your secret in the **Name** input box.
4950
4. Enter the value for your secret.
@@ -57,7 +58,8 @@ When creating a secret in an organization, you can use a policy to limit which r
5758

5859
{% data reusables.organizations.navigate-to-org %}
5960
{% data reusables.organizations.org_settings %}
60-
1. In the "Security" section of the sidebar, select **{% octicon "key-asterisk" aria-label="The key-asterisk icon" %} Secrets** then click **{% data variables.product.prodname_codespaces %}**.
61+
{% data reusables.codespaces.sidebar-secret %}
62+
6163
2. At the top of the page, click **New organization secret**.
6264
3. Type a name for your secret in the **Name** input box.
6365
4. Enter the **Value** for your secret.
@@ -71,7 +73,8 @@ You can check which access policies are applied to a secret in your organization
7173

7274
{% data reusables.organizations.navigate-to-org %}
7375
{% data reusables.organizations.org_settings %}
74-
{% data reusables.actions.sidebar-secret %}
76+
{% data reusables.codespaces.sidebar-secret %}
77+
7578
1. The list of secrets includes any configured permissions and policies. For example:
7679
![Secrets list](/assets/images/help/settings/actions-org-secrets-list.png)
7780
1. For more details on the configured permissions for each secret, click **Update**.
Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
{% ifversion fpt or ghec or ghes > 3.4 or ghae > 3.4 %}
2-
1. In the left sidebar, click **{% octicon "key-asterisk" aria-label="The key-asterisk icon" %} Secrets**.
3-
{% else %}
1+
{% ifversion fpt or ghec or ghes > 3.4 or ghae > 3.4 -%}
2+
1. In the "Security" section of the sidebar, select **{% octicon "key-asterisk" aria-label="The key-asterisk icon" %} Secrets**, then click **Actions**.
3+
{%- else %}
44
1. In the left sidebar, click **Secrets**.
5-
{% endif %}
5+
{%- endif %}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
1. In the "Security" section of the sidebar, select **{% octicon "key-asterisk" aria-label="The key-asterisk icon" %} Secrets**, then click **{% data variables.product.prodname_codespaces %}**.
File renamed without changes.

0 commit comments

Comments
 (0)