Skip to content

Commit 7e5292f

Browse files
authored
Branch was updated using the 'autoupdate branch' Actions workflow.
2 parents ff69184 + 913bda4 commit 7e5292f

File tree

13 files changed

+100
-11
lines changed

13 files changed

+100
-11
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/[email protected]',
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/[email protected]
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+
33.3 KB
Loading
89.8 KB
Loading
228 KB
Loading
41.8 KB
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)

content/rest/guides/basics-of-authentication.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -127,10 +127,7 @@ application, you should probably use [a library written in the language of your
127127

128128
#### Checking granted scopes
129129

130-
In the future, users will be able to [edit the scopes you requested][edit scopes post],
131-
and your application might be granted less access than you originally asked for.
132-
So, before making any requests with the token, you should check the scopes that
133-
were granted for the token by the user.
130+
Users can edit the scopes you requested by directly changing the URL. This can grant your application less access than you originally asked for. Before making any requests with the token, check the scopes that were granted for the token by the user. For more information about requested and granted scopes, see "[Scopes for OAuth Apps](/developers/apps/scopes-for-oauth-apps#requested-scopes-and-granted-scopes)."
134131

135132
The scopes that were granted are returned as a part of the response from
136133
exchanging a token.
@@ -365,7 +362,6 @@ we would've seen the same confirmation dialog from earlier pop-up and warn us.
365362
[REST Client]: https://github.com/archiloque/rest-client
366363
[libraries]: /libraries/
367364
[oauth scopes]: /apps/building-oauth-apps/understanding-scopes-for-oauth-apps/
368-
[edit scopes post]: https://developer.github.com/changes/2013-10-04-oauth-changes-coming/
369365
[platform samples]: https://github.com/github/platform-samples/tree/master/api/ruby/basics-of-authentication
370366
[new oauth app]: https://github.com/settings/applications/new
371367
[app settings]: https://github.com/settings/developers

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

0 commit comments

Comments
 (0)