Skip to content

Commit d82ce41

Browse files
authored
Merge branch 'main' into missing-paren
2 parents db54aa0 + 5223463 commit d82ce41

118 files changed

Lines changed: 834 additions & 646 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ The `aws-actions/configure-aws-credentials` action receives a JWT from the {% da
7272

7373
- `<example-bucket-name>`: Add the name of your S3 bucket here.
7474
- `<role-to-assume>`: Replace the example with your AWS role.
75-
- `<example-aws-region>`: Add the name of your AWs region here.
75+
- `<example-aws-region>`: Add the name of your AWS region here.
7676

7777
```yaml{:copy}
7878
# Sample workflow to access AWS resources when workflow is tied to branch

content/actions/learn-github-actions/workflow-commands-for-github-actions.md

Lines changed: 42 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,14 +68,15 @@ The following table shows which toolkit functions are available within a workflo
6868
| ----------------- | ------------- |
6969
| `core.addPath` | Accessible using environment file `GITHUB_PATH` |
7070
| `core.debug` | `debug` |{% ifversion fpt or ghes > 3.2 or ghae-issue-4929 or ghec %}
71-
| `core.notice` | `notice` |{% endif %}
71+
| `core.notice` | `notice` |{% endif %}
7272
| `core.error` | `error` |
7373
| `core.endGroup` | `endgroup` |
7474
| `core.exportVariable` | Accessible using environment file `GITHUB_ENV` |
7575
| `core.getInput` | Accessible using environment variable `INPUT_{NAME}` |
7676
| `core.getState` | Accessible using environment variable `STATE_{NAME}` |
7777
| `core.isDebug` | Accessible using environment variable `RUNNER_DEBUG` |
7878
| `core.saveState` | `save-state` |
79+
| `core.setCommandEcho` | `echo` |
7980
| `core.setFailed` | Used as a shortcut for `::error` and `exit 1` |
8081
| `core.setOutput` | `set-output` |
8182
| `core.setSecret` | `add-mask` |
@@ -246,6 +247,46 @@ jobs:
246247
247248
{% endraw %}
248249
250+
## Echoing command outputs
251+
252+
```
253+
::echo::on
254+
::echo::off
255+
```
256+
257+
Enables or disables echoing of workflow commands. For example, if you use the `set-output` command in a workflow, it sets an output parameter but the workflow run's log does not show the command itself. If you enable command echoing, then the log shows the command, such as `::set-output name={name}::{value}`.
258+
259+
Command echoing is disabled by default. However, a workflow command is echoed if there are any errors processing the command.
260+
261+
The `add-mask`, `debug`, `warning`, and `error` commands do not support echoing because their outputs are already echoed to the log.
262+
263+
You can also enable command echoing globally by turning on step debug logging using the `ACTIONS_STEP_DEBUG` secret. For more information, see "[Enabling debug logging](/actions/managing-workflow-runs/enabling-debug-logging)". In contrast, the `echo` workflow command lets you enable command echoing at a more granular level, rather than enabling it for every workflow in a repository.
264+
265+
### Example toggling command echoing
266+
267+
```yaml
268+
jobs:
269+
workflow-command-job:
270+
runs-on: ubuntu-latest
271+
steps:
272+
- name: toggle workflow command echoing
273+
run: |
274+
echo '::set-output name=action_echo::disabled'
275+
echo '::echo::on'
276+
echo '::set-output name=action_echo::enabled'
277+
echo '::echo::off'
278+
echo '::set-output name=action_echo::disabled'
279+
```
280+
281+
The step above prints the following lines to the log:
282+
283+
```
284+
::set-output name=action_echo::enabled
285+
::echo::off
286+
```
287+
288+
Only the second `set-output` and `echo` workflow commands are included in the log because command echoing was only enabled when they were run. Even though it is not always echoed, the output parameter is set in all cases.
289+
249290
## Sending values to the pre and post actions
250291

251292
You can use the `save-state` command to create environment variables for sharing with your workflow's `pre:` or `post:` actions. For example, you can create a file with the `pre:` action, pass the file location to the `main:` action, and then use the `post:` action to delete the file. Alternatively, you could create a file with the `main:` action, pass the file location to the `post:` action, and also use the `post:` action to delete the file.

content/admin/configuration/configuring-network-settings/configuring-tls.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ You can generate a certificate signing request (CSR) for your instance using the
4545
![Radio buttons with options to choose TLS protocols](/assets/images/enterprise/management-console/tls-protocol-support.png)
4646
5. Under "Certificate", click **Choose File** to choose a TLS certificate or certificate chain (in PEM format) to install. This file will usually have a *.pem*, *.crt*, or *.cer* extension.
4747
![Button to find TLS certificate file](/assets/images/enterprise/management-console/install-tls-certificate.png)
48-
6. Under "Unencrypted key", click **Choose File** to choose a TLS key (in PEM format) to install. This file will usually have a *.key* extension.
48+
6. Under "Unencrypted key", click **Choose File** to choose an RSA key (in PEM format) to install. This file will usually have a *.key* extension.
4949
![Button to find TLS key file](/assets/images/enterprise/management-console/install-tls-key.png)
5050

5151
{% warning %}
5252

53-
**Warning**: Your TLS key must not have a passphrase. For more information, see "[Removing the passphrase from your key file](/enterprise/{{ currentVersion }}/admin/guides/installation/troubleshooting-ssl-errors#removing-the-passphrase-from-your-key-file)".
53+
**Warning**: Your key must be an RSA key and must not have a passphrase. For more information, see "[Removing the passphrase from your key file](/admin/guides/installation/troubleshooting-ssl-errors#removing-the-passphrase-from-your-key-file)".
5454

5555
{% endwarning %}
5656
{% data reusables.enterprise_management_console.save-settings %}

content/admin/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,7 @@ featuredLinks:
101101
- '{% ifversion ghec %}/admin/configuration/configuring-your-enterprise/verifying-or-approving-a-domain-for-your-enterprise{% endif %}'
102102
- '{% ifversion ghec %}/admin/user-management/managing-organizations-in-your-enterprise/viewing-the-audit-logs-for-organizations-in-your-enterprise{% endif %}'
103103
- '{% ifversion ghec %}/admin/user-management/monitoring-activity-in-your-enterprise/managing-global-webhooks{% endif %}'
104+
- '{% ifversion ghec %}/billing/managing-your-license-for-github-enterprise/using-visual-studio-subscription-with-github-enterprise/setting-up-visual-studio-subscription-with-github-enterprise{% endif %}'
104105
- /admin/enterprise-support/about-github-enterprise-support
105106
layout: product-landing
106107
versions:

content/admin/user-management/managing-repositories-in-your-enterprise/migrating-to-internal-repositories.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ In future releases of {% data variables.product.prodname_ghe_server %}, we will
2424

2525
To prepare for these changes, if you have private mode enabled, you can run a migration on your instance to convert public repositories to internal. This migration is currently optional, to allow you to test the changes on a non-production instance. The migration will become mandatory in the future.
2626

27-
When you run the migration, all public repositories owned by organizations on your instance will become internal repositories. If any of those repositories have forks, the forks will become private. Private repositories will remain private.
27+
When you run the migration, all public repositories owned by organizations on your instance will become internal repositories. If any of those repositories have forks, the forks will be detached from their parent and become private. Private repositories will remain private.
2828

2929
All public repositories owned by user accounts on your instance will become private repositories. If any of those repositories have forks, the forks will also become private. The owner of each fork will be given read permissions to the fork's parent.
3030

content/admin/user-management/monitoring-activity-in-your-enterprise/log-forwarding.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,22 @@ topics:
1717
- Logging
1818
- Security
1919
---
20+
21+
## About log forwarding
22+
2023
Any log collection system that supports syslog-style log streams is supported (e.g., [Logstash](http://logstash.net/) and [Splunk](http://docs.splunk.com/Documentation/Splunk/latest/Data/Monitornetworkports)).
2124

25+
When you enable log forwarding, you must upload a CA certificate to encrypt communications between syslog endpoints. Your appliance and the remote syslog server will perform two-way SSL, each providing a certificate to the other and validating the certificate which is received.
26+
2227
## Enabling log forwarding
2328

2429
{% ifversion ghes %}
2530
1. On the {% data variables.enterprise.management_console %} settings page, in the left sidebar, click **Monitoring**.
2631
1. Select **Enable log forwarding**.
2732
1. In the **Server address** field, type the address of the server to which you want to forward logs. You can specify multiple addresses in a comma-separated list.
2833
1. In the Protocol drop-down menu, select the protocol to use to communicate with the log server. The protocol will apply to all specified log destinations.
29-
1. Select **Enable TLS**.
30-
1. Click **Choose File** and choose a CA certificate to encrypt communication between syslog endpoints. The entire certificate chain will be validated, and must terminate in a root certificate. For more information, see [TLS options in the syslog-ng documentation](https://support.oneidentity.com/technical-documents/syslog-ng-open-source-edition/3.16/administration-guide/56#TOPIC-956599).
34+
1. Optionally, select **Enable TLS**. We recommend enabling TLS according to your local security policies, especially if there are untrusted networks between the appliance and any remote log servers.
35+
1. To encrypt communication between syslog endpoints, click **Choose File** and choose a CA certificate for the remote syslog server. You should upload a CA bundle containing a concatenation of the certificates of the CAs involved in signing the certificate of the remote log server. The entire certificate chain will be validated, and must terminate in a root certificate. For more information, see [TLS options in the syslog-ng documentation](https://support.oneidentity.com/technical-documents/syslog-ng-open-source-edition/3.16/administration-guide/56#TOPIC-956599).
3136
{% elsif ghae %}
3237
{% data reusables.enterprise-accounts.access-enterprise %}
3338
{% data reusables.enterprise-accounts.settings-tab %}

content/authentication/authenticating-with-saml-single-sign-on/authorizing-a-personal-access-token-for-use-with-saml-single-sign-on.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ shortTitle: PAT with SAML
1515
---
1616
You can authorize an existing personal access token, or [create a new personal access token](/github/authenticating-to-github/creating-a-personal-access-token) and then authorize it.
1717

18+
{% data reusables.saml.authorized-creds-info %}
19+
1820
{% data reusables.user_settings.access_settings %}
1921
{% data reusables.user_settings.developer_settings %}
2022
{% data reusables.user_settings.personal_access_tokens %}

content/authentication/authenticating-with-saml-single-sign-on/authorizing-an-ssh-key-for-use-with-saml-single-sign-on.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ shortTitle: SSH Key with SAML
1515
---
1616
You can authorize an existing SSH key, or create a new SSH key and then authorize it. For more information about creating a new SSH key, see "[Generating a new SSH key and adding it to the ssh-agent](/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)."
1717

18+
{% data reusables.saml.authorized-creds-info %}
19+
1820
{% note %}
1921

2022
**Note:** If your SSH key authorization is revoked by an organization, you will not be able to reauthorize the same key. You will need to create a new SSH key and authorize it. For more information about creating a new SSH key, see "[Generating a new SSH key and adding it to the ssh-agent](/articles/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent)."

content/billing/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ children:
1717
- /managing-billing-for-github-codespaces
1818
- /managing-billing-for-github-packages
1919
- /managing-your-license-for-github-enterprise
20+
- /managing-licenses-for-visual-studio-subscriptions-with-github-enterprise
2021
- /managing-billing-for-github-advanced-security
2122
- /managing-billing-for-github-sponsors
2223
- /managing-billing-for-github-marketplace-apps
Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
---
2+
title: About Visual Studio subscriptions with GitHub Enterprise
3+
intro: 'You can give {% data variables.product.prodname_vs %} subscribers on your team access to {% data variables.product.prodname_enterprise %} with a combined offering from Microsoft.'
4+
redirect_from:
5+
- /github/setting-up-and-managing-your-enterprise/managing-your-enterprise-account/managing-licenses-for-visual-studio-subscription-with-github-enterprise
6+
- /github/setting-up-and-managing-your-enterprise/managing-licenses-for-the-github-enterprise-and-visual-studio-bundle
7+
- /github/setting-up-and-managing-your-enterprise-account/managing-licenses-for-the-github-enterprise-and-visual-studio-bundle
8+
- /github/articles/about-the-github-and-visual-studio-bundle
9+
- /articles/about-the-github-and-visual-studio-bundle
10+
- /github/setting-up-and-managing-your-enterprise-account/managing-licenses-for-visual-studio-subscription-with-github-enterprise
11+
- /github/setting-up-and-managing-your-enterprise/managing-licenses-for-visual-studio-subscription-with-github-enterprise
12+
- /billing/managing-your-license-for-github-enterprise/managing-licenses-for-visual-studio-subscription-with-github-enterprise
13+
versions:
14+
ghec: '*'
15+
type: overview
16+
topics:
17+
- Enterprise
18+
- Licensing
19+
shortTitle: About
20+
---
21+
22+
## About {% data variables.product.prodname_vss_ghe %}
23+
24+
{% data reusables.enterprise-accounts.vss-ghe-description %} {% data variables.product.prodname_vss_ghe %} is available from Microsoft under the terms of the Microsoft Enterprise Agreement. For more information, see [{% data variables.product.prodname_vss_ghe %}](https://visualstudio.microsoft.com/subscriptions/visual-studio-github/) on the {% data variables.product.prodname_vs %} website.
25+
26+
To use the {% data variables.product.prodname_enterprise %} portion of the license, each subscriber's user account on {% data variables.product.prodname_dotcom_the_website %} must be or become a member of an organization owned by your enterprise on {% data variables.product.prodname_dotcom_the_website %}. To accomplish this, organization owners can invite new members to an organization by email address. The subscriber can accept the invitation with an existing user account on {% data variables.product.prodname_dotcom_the_website %} or create a new account.
27+
28+
For more information about the setup of {% data variables.product.prodname_vss_ghe %}, see "[Setting up {% data variables.product.prodname_vss_ghe %}](/billing/managing-licenses-for-visual-studio-subscriptions-with-github-enterprise/setting-up-visual-studio-subscriptions-with-github-enterprise)."
29+
30+
## About licenses for {% data variables.product.prodname_vss_ghe %}
31+
32+
After you assign a license for {% data variables.product.prodname_vss_ghe %} to a subscriber, the subscriber will use the {% data variables.product.prodname_enterprise %} portion of the license by joining an organization in your enterprise with a user account on {% data variables.product.prodname_dotcom_the_website %}. If the email address for the user account of an enterprise member on {% data variables.product.prodname_dotcom_the_website %} matches the User Primary Name (UPN) for a subscriber to your {% data variables.product.prodname_vs %} account, the {% data variables.product.prodname_vs %} subscriber will automatically consume one license for {% data variables.product.prodname_vss_ghe %}.
33+
34+
The total quantity of your licenses for your enterprise on {% data variables.product.prodname_dotcom %} is the sum of any standard {% data variables.product.prodname_enterprise %} licenses and the number of {% data variables.product.prodname_vs %} subscription licenses that include access to {% data variables.product.prodname_dotcom %}. If the user account for an enterprise member does not correspond with the email address for a {% data variables.product.prodname_vs %} subscriber, the license that the user account consumes is unavailable for a {% data variables.product.prodname_vs %} subscriber.
35+
36+
For more information about {% data variables.product.prodname_enterprise %}, see "[{% data variables.product.company_short %}'s products](/github/getting-started-with-github/githubs-products#github-enterprise)." For more information about accounts on {% data variables.product.prodname_dotcom_the_website %}, see "[Types of {% data variables.product.prodname_dotcom %} accounts](/github/getting-started-with-github/types-of-github-accounts)."
37+
38+
You can view the number of {% data variables.product.prodname_enterprise %} licenses available to your enterprise on {% data variables.product.product_location %}. The list of pending invitations includes subscribers who are not yet members of at least one organization in your enterprise. For more information, see "[Viewing the subscription and usage for your enterprise account](/billing/managing-billing-for-your-github-account/viewing-the-subscription-and-usage-for-your-enterprise-account)" and "[Viewing people in your enterprise](/admin/user-management/managing-users-in-your-enterprise/viewing-people-in-your-enterprise#viewing-members-and-outside-collaborators)."
39+
40+
{% tip %}
41+
42+
**Tip**: If you download a CSV file with your enterprise's license usage in step 6 of "[Viewing the subscription and usage for your enterprise account](/billing/managing-billing-for-your-github-account/viewing-the-subscription-and-usage-for-your-enterprise-account#viewing-the-subscription-and-usage-for-your-enterprise-account)," any members with a missing value for the "Name" or "Profile" columns have not yet accepted an invitation to join an organization within the enterprise.
43+
44+
{% endtip %}
45+
46+
You can also see pending {% data variables.product.prodname_enterprise %} invitations to subscribers in {% data variables.product.prodname_vss_admin_portal_with_url %}.
47+
48+
## Further reading
49+
50+
- [{% data variables.product.prodname_vs %} subscriptions with {% data variables.product.prodname_enterprise %}](https://docs.microsoft.com/visualstudio/subscriptions/access-github) in Microsoft Docs
51+
- [Use {% data variables.product.prodname_vs %} or {% data variables.product.prodname_vscode %} to deploy apps from {% data variables.product.prodname_dotcom %}](https://docs.microsoft.com/en-us/azure/developer/github/deploy-with-visual-studio) in Microsoft Docs

0 commit comments

Comments
 (0)