Skip to content

Commit ce60d31

Browse files
authored
Branch was updated using the 'autoupdate branch' Actions workflow.
2 parents 5a10734 + aa0eea4 commit ce60d31

File tree

12 files changed

+99
-6
lines changed

12 files changed

+99
-6
lines changed

.github/allowed-actions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ module.exports = [
1515
'actions/setup-node@v1',
1616
'actions/setup-ruby@v1',
1717
'actions/stale@v3',
18+
'crowdin/github-action@1.0.10',
1819
'dawidd6/action-delete-branch@v3',
1920
'docker://chinthakagodawita/autoupdate-action:v1',
2021
'github/codeql-action/analyze@v1',

.github/workflows/crowdin.yml

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
# Please ping @github/docs-localization in the PR whenever you update this file!
2+
3+
name: Crowdin Sync
4+
5+
on:
6+
push:
7+
branches:
8+
- main
9+
10+
jobs:
11+
sync_with_crowdin:
12+
name: Sync with Crowdin
13+
runs-on: ubuntu-latest
14+
steps:
15+
- name: Checkout
16+
uses: actions/checkout@v2
17+
18+
- name: Sync
19+
uses: crowdin/github-action@1.0.10
20+
with:
21+
upload_translations: true
22+
download_translations: true
23+
create_pull_request: true
24+
25+
# Using a custom config temporarily to avoid clobbering the existing crowdin.yml
26+
# that is used by the github-help-docs OAuth integration.
27+
config: 'crowdin-actions-config.yml'
28+
29+
# This is the name of the git branch that Crowdin will create when opening a pull request.
30+
# This branch does NOT need to be manually created. It will be created automatically by the action.
31+
localization_branch_name: automated-crowdin-translations
32+
33+
# This is the name of the top-level directory that Crowdin will use for files.
34+
# Note that this is not a "branch" in the git sense, but more like a top-level directory in your Crowdin project.
35+
# This branch does NOT need to be manually created. It will be created automatically by the action.
36+
crowdin_branch_name: crowdin-main
37+
38+
env:
39+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
40+
41+
# This is a numeric id, not to be confused with Crowdin API v1 "project identifier" string
42+
# See "API v2" on https://crowdin.com/project/<your-project>/settings#api
43+
CROWDIN_PROJECT_ID: ${{ secrets.CROWDIN_PROJECT_ID }}
44+
45+
# A personal access token, not to be confused with Crowdin API v1 "API key"
46+
# See https://crowdin.com/settings#api-key to generate a token
47+
# This token was created by logging into Crowdin with the octoglot user
48+
CROWDIN_PERSONAL_TOKEN: ${{ secrets.CROWDIN_PERSONAL_TOKEN }}
49+
50+
Loading
Loading
Loading
Loading

content/admin/configuration/network-ports.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Application ports provide web application and Git access for end users.
3434
| 443 | HTTPS | Access to the web application and Git over HTTPS. |
3535
| 80 | HTTP | Access to the web application. All requests are redirected to the HTTPS port when SSL is enabled. |
3636
| 22 | SSH | Access to Git over SSH. Supports clone, fetch, and push operations to public and private repositories. |
37-
| 9418 | Git | Git protocol port supports clone and fetch operations to public repositories with unencrypted network communication. |
37+
| 9418 | Git | Git protocol port supports clone and fetch operations to public repositories with unencrypted network communication. {% data reusables.enterprise_installation.when-9418-necessary %} |
3838

3939
{% data reusables.enterprise_installation.terminating-tls %}
4040

content/github/developing-online-with-codespaces/using-codespaces-in-visual-studio-code.md

Lines changed: 19 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ versions:
1010

1111
{% data reusables.codespaces.release-stage %}
1212

13-
### Connecting the {% data variables.product.prodname_vs_codespaces %} extension to your {% data variables.product.prodname_dotcom %} account
13+
### Prerequisites
1414

1515
Before you can develop in a codespace directly in {% data variables.product.prodname_vscode %}, you must configure the {% data variables.product.prodname_vs_codespaces %} extension to connect to your {% data variables.product.product_name %} account.
1616

@@ -29,11 +29,27 @@ Before you can develop in a codespace directly in {% data variables.product.prod
2929
8. To authorize {% data variables.product.prodname_vscode %} to access your account on {% data variables.product.product_name %}, click **Allow**.
3030
9. Sign in to {% data variables.product.product_name %} to approve the extension.
3131

32-
### Opening a codespace in {% data variables.product.prodname_vscode %}
32+
### Creating a codespace in {% data variables.product.prodname_vscode %}
3333

34-
After you've connected your {% data variables.product.product_name %} account to the {% data variables.product.prodname_vs_codespaces %} extension, you can develop in a codespace that you created on {% data variables.product.product_name %} directly in {% data variables.product.prodname_vscode %}.
34+
After you connect your {% data variables.product.product_name %} account to the {% data variables.product.prodname_vs_codespaces %} extension, you can develop in a codespace that you created on {% data variables.product.product_name %} or in {% data variables.product.prodname_vscode %}.
35+
36+
{% data reusables.codespaces.click-remote-explorer-icon-vscode %}
37+
2. Click the Add icon, then click **Create New Codespace**.
38+
![The Create new Codespace option in {% data variables.product.prodname_codespaces %}](/assets/images/help/codespaces/create-codespace-vscode.png)
39+
3. Type, then click the repository's name you want to develop in.
40+
![Searching for repository to create a new {% data variables.product.prodname_codespaces %}](/assets/images/help/codespaces/choose-repository-vscode.png)
41+
4. Click the branch you want to develop in.
42+
![Searching for a branch to create a new {% data variables.product.prodname_codespaces %}](/assets/images/help/codespaces/choose-branch-vscode.png)
43+
44+
### Opening a codespace in {% data variables.product.prodname_vscode %}
3545

3646
{% data reusables.codespaces.click-remote-explorer-icon-vscode %}
3747
2. Under Codespaces, click the codespace you want to develop in.
3848
3. Click the Connect to Codespace icon.
3949
![The Connect to Codespace icon in {% data variables.product.prodname_vscode %}](/assets/images/help/codespaces/click-connect-to-codespace-icon-vscode.png)
50+
51+
### Deleting a codespace in {% data variables.product.prodname_vscode %}
52+
53+
1. Under Codespaces, right-click the codespace you want to delete.
54+
2. In the drop-down menu, click **Delete Codespace**.
55+
![Deleting a codespace in {% data variables.product.prodname_dotcom %}](/assets/images/help/codespaces/delete-codespace-vscode.png)

crowdin-actions-config.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
files:
2+
- source: /content/**/*.md
3+
translation: /translations/%locale%/%original_path%/%original_file_name%
4+
ignore: [
5+
"/content/README.md"
6+
]
7+
- source: /data/**/*.yml
8+
translation: /translations/%locale%/%original_path%/%original_file_name%
9+
- source: /data/**/*.md
10+
translation: /translations/%locale%/%original_path%/%original_file_name%
11+
ignore: [
12+
"data/README.md",
13+
"data/reusables/README.md",
14+
"data/variables/product.yml",
15+
"data/variables/README.md",
16+
"data/graphql",
17+
"data/products.yml"
18+
]
19+
20+
# These end up as env vars used by the GitHub Actions workflow
21+
project_id_env: CROWDIN_PROJECT_ID
22+
api_token_env: CROWDIN_PERSONAL_TOKEN
23+
24+
# https://support.crowdin.com/configuration-file-v3/#saving-directory-structure-on-server
25+
preserve_hierarchy: true
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
After you open a codespace, you can develop using {% data variables.product.prodname_vscode %}'s features, such as text editing, debugging, and Git commands. For more information, see the [{% data variables.product.prodname_vscode %} documentation](https://code.visualstudio.com/docs).
1+
You can edit code, debug, and use Git commands while developing in a codespace with {% data variables.product.prodname_vscode %}. For more information, see the [{% data variables.product.prodname_vscode %} documentation](https://code.visualstudio.com/docs).

data/reusables/enterprise_installation/necessary_ports.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@
99
| 1194/UDP | VPN | Secure replication network tunnel in high availability configuration. |
1010
| 8080 | HTTP | Plain-text web based {% data variables.enterprise.management_console %}. *Not required unless SSL is disabled manually.* |
1111
| 8443 | HTTPS | Secure web based {% data variables.enterprise.management_console %}. *Required for basic installation and configuration.* |
12-
| 9418 | Git | Simple Git protocol port. Clone and fetch operations to public repositories only. *Unencrypted network communication.* |
12+
| 9418 | Git | Simple Git protocol port. Clone and fetch operations to public repositories only. *Unencrypted network communication.* {% data reusables.enterprise_installation.when-9418-necessary %} |
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
If you have enabled private mode on your instance, then opening this port is only required if you also enabled anonymous Git read access. For more information, see "[Enforcing repository management policies in your enterprise](/admin/policies/enforcing-repository-management-policies-in-your-enterprise#configuring-anonymous-git-read-access)."

0 commit comments

Comments
 (0)