Skip to content

Commit 14ec7ad

Browse files
authored
Merge branch 'main' into patch-1
2 parents 208463c + aa74bae commit 14ec7ad

File tree

4,629 files changed

+204608
-30
lines changed

Some content is hidden

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

4,629 files changed

+204608
-30
lines changed

.github/workflows/msft-create-translation-batch-pr.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ jobs:
4747

4848
# We'll be ready to add the following languages in a future effort.
4949

50-
# - language: ru
51-
# language_dir: translations/ru-RU
52-
# language_repo: github/docs-internal.ru-ru
50+
- language: ru
51+
language_dir: translations/ru-RU
52+
language_repo: github/docs-internal.ru-ru
5353

5454
# - language: ko
5555
# language_dir: translations/ko-KR

.github/workflows/sync-search-elasticsearch.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ jobs:
3636
fail-fast: false
3737
matrix:
3838
# This needs to match the languages we support
39-
language: [en, ja, es, pt, cn]
39+
language: [en, ja, es, pt, cn, ru]
4040
steps:
4141
- if: ${{ env.FREEZE == 'true' }}
4242
run: |

.github/workflows/wip-langs-create-translation-batch-pr.yml

-5
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,6 @@ jobs:
6363
- name: Remove unwanted git hooks
6464
run: rm .git/hooks/post-checkout
6565

66-
- name: Remove all language translations
67-
run: |
68-
git rm -rf --quiet ${{ matrix.language_dir }}/content
69-
git rm -rf --quiet ${{ matrix.language_dir }}/data
70-
7166
- name: Checkout the language-specific repo
7267
uses: actions/checkout@dcd71f646680f2efd8db4afa5ad64fdcba30e748
7368
with:

content/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -186,12 +186,12 @@ The old method of specifying images based on the theme, by using a fragment appe
186186

187187
## Lists
188188

189-
You can make an unordered list by preceding one or more lines of text with <kbd>-</kbd> or <kbd>*</kbd>.
189+
You can make an unordered list by preceding one or more lines of text with <kbd>-</kbd>, <kbd>*</kbd>, or <kbd>+</kbd>.
190190

191191
```markdown
192192
- George Washington
193-
- John Adams
194-
- Thomas Jefferson
193+
* John Adams
194+
+ Thomas Jefferson
195195
```
196196

197197
![Rendered unordered list](/assets/images/help/writing/unordered-list-rendered.png)

content/issues/planning-and-tracking-with-projects/automating-your-project/using-the-api-to-manage-projects.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -660,7 +660,7 @@ The following example will update the value of an iteration field for an item.
660660
curl --request POST \
661661
--url https://api.github.com/graphql \
662662
--header 'Authorization: Bearer TOKEN' \
663-
--data '{"query":"mutation {updateProjectV2ItemFieldValue( input: { projectId: \"PROJECT_ID\" itemId: \"ITEM_ID\" fieldId: \"FIELD_ID\" value: { singleSelectOptionId: \"OPTION_ID\" }}) { projectV2Item { id }}}"}'
663+
--data '{"query":"mutation {updateProjectV2ItemFieldValue( input: { projectId: \"PROJECT_ID\" itemId: \"ITEM_ID\" fieldId: \"FIELD_ID\" value: { iterationId: \"ITERATION_ID\" }}) { projectV2Item { id }}}"}'
664664
```
665665
{% endcurl %}
666666

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Reference: Issue #8544
2+
# Title: Dependabot support for updating Docker image tags in Kubernetes manifests
3+
4+
versions:
5+
fpt: '*'
6+
ghec: '*'
7+
ghes: '>= 3.8'

data/reusables/dependabot/supported-package-managers.md

+20-15
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,23 @@ Package manager | YAML value | Supported versions | Private repositories |
99
Bundler | `bundler` | v1, v2 | | **** | **** |
1010
Cargo | `cargo` | v1 | **** | **** | |
1111
Composer | `composer` | v1, v2 | **** | **** | |
12-
Docker | `docker` | v1 | **** | **** | |
12+
Docker {% ifversion dependabot-version-updates-enhanced-docker-support %}<sup>[1]</sup>{% endif %} | `docker` | v1 | **** | **** | |
1313
Hex | `mix` | v1 | | **** | |
1414
elm-package | `elm` | v0.19 | **** | **** | |
1515
git submodule | `gitsubmodule` | N/A (no version) | **** | **** | |
1616
GitHub Actions | `github-actions` | N/A (no version) | **** | **** | |
1717
Go modules | `gomod` | v1 | **** | **** | **** |
18-
Gradle | `gradle` | N/A (no version)<sup>[1]</sup> | **** | **** | |
19-
Maven | `maven` | N/A (no version)<sup>[2]</sup> | **** | **** | |
18+
Gradle | `gradle` | N/A (no version)<sup>[2]</sup> | **** | **** | |
19+
Maven | `maven` | N/A (no version)<sup>[3]</sup> | **** | **** | |
2020
npm | `npm` | v6, v7, v8 | **** | **** | |
21-
NuGet | `nuget` | <= 4.8<sup>[3]</sup> | **** | **** | |
21+
NuGet | `nuget` | <= 4.8<sup>[4]</sup> | **** | **** | |
2222
pip{% ifversion dependabot-PEP621-support %}<sup>[5]</sup>{% endif %} | `pip` | v21.1.2 | | **** | |
2323
pipenv | `pip` | <= 2021-05-29 | | **** | |
2424
pip-compile{% ifversion dependabot-PEP621-support %}<sup>[5]</sup>{% endif %} | `pip` | 6.1.0 | | **** | |
2525
poetry | `pip` | v1 | | **** | |{% ifversion fpt or ghec or ghes > 3.4 %}
26-
pub | `pub` | v2 <sup>[4]</sup> | | | |{% endif %}
26+
pub | `pub` | v2 <sup>[6]</sup> | | | |{% endif %}
2727
Terraform | `terraform` | >= 0.13, <= 1.2.x | **** | **** | |
28-
{% ifversion dependabot-yarn-v3-update %}yarn | `npm` | v1, v2, v3 | **** | **** | ****<sup>[6]</sup> |{% else %}yarn | `npm` | v1 | **** | **** | |
28+
{% ifversion dependabot-yarn-v3-update %}yarn | `npm` | v1, v2, v3 | **** | **** | ****<sup>[7]</sup> |{% else %}yarn | `npm` | v1 | **** | **** | |
2929
{% endif %}
3030

3131
{% tip %}
@@ -34,25 +34,30 @@ Terraform | `terraform` | >= 0.13, <= 1.2.x | **✓** | **✓** | |
3434

3535
{% endtip %}
3636

37-
[1] {% data variables.product.prodname_dependabot %} doesn't run Gradle but supports updates to the following files: `build.gradle`, `build.gradle.kts` (for Kotlin projects), and files included via the `apply` declaration that have `dependencies` in the filename. Note that `apply` does not support `apply to`, recursion, or advanced syntaxes (for example, Kotlin's `apply` with `mapOf`, filenames defined by property).
37+
{% ifversion dependabot-version-updates-enhanced-docker-support %}
38+
[1] {% data variables.product.prodname_dependabot %} can update Docker image tags in Kubernetes manifests. Add an entry to the Docker `package-ecosystem` element of your _dependabot.yml_ file for each directory containing a Kubernetes manifest which references Docker image tags. Kubernetes manifests can be Kubernetes Deployment YAML files or Helm charts. For information about configuring your _dependabot.yml_ file for `docker`, see "`package-ecosystem`" in "[Configuration options for the dependabot.yml file](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#package-ecosystem)."
3839

39-
[2] {% data variables.product.prodname_dependabot %} doesn't run Maven but supports updates to `pom.xml` files.
40+
{% data variables.product.prodname_dependabot %} supports both public and private Docker registries. For a list of the supported registries, see "`docker-registry`" in "[Configuration options for the dependabot.yml file](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#docker-registry)."
41+
{% endif %}
42+
43+
[2] {% data variables.product.prodname_dependabot %} doesn't run Gradle but supports updates to the following files: `build.gradle`, `build.gradle.kts` (for Kotlin projects), and files included via the `apply` declaration that have `dependencies` in the filename. Note that `apply` does not support `apply to`, recursion, or advanced syntaxes (for example, Kotlin's `apply` with `mapOf`, filenames defined by property).
44+
45+
[3] {% data variables.product.prodname_dependabot %} doesn't run Maven but supports updates to `pom.xml` files.
4046

41-
[3] {% data variables.product.prodname_dependabot %} doesn't run the NuGet CLI but does support most features up until version 4.8.
47+
[4] {% data variables.product.prodname_dependabot %} doesn't run the NuGet CLI but does support most features up until version 4.8.
48+
49+
{% ifversion dependabot-PEP621-support %}
50+
[5] In addition to supporting updates to `requirements.txt` files, {% data variables.product.prodname_dependabot %} supports updates to `pyproject.toml` files if they follow the PEP 621 standard. {% endif %}
4251

4352
{% ifversion fpt or ghec or ghes > 3.4 %}
44-
[4] {% ifversion ghes = 3.5 %}`pub` support is currently in beta. Any known limitations are subject to change. Note that {% data variables.product.prodname_dependabot %}:
53+
[6] {% ifversion ghes = 3.5 %}`pub` support is currently in beta. Any known limitations are subject to change. Note that {% data variables.product.prodname_dependabot %}:
4554
- Doesn't support updating git dependencies for `pub`.
4655
- Won't perform an update when the version that it tries to update to is ignored, even if an earlier version is available.
4756

4857
For information about configuring your _dependabot.yml_ file for `pub`, see "[Enabling support for beta-level ecosystems](/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file#enable-beta-ecosystems)."
4958
{%- else %}{% data variables.product.prodname_dependabot %} won't perform an update for `pub` when the version that it tries to update to is ignored, even if an earlier version is available.{% endif %}
5059
{% endif %}
5160

52-
53-
{% ifversion dependabot-PEP621-support %}
54-
[5] In addition to supporting updates to `requirements.txt` files, {% data variables.product.prodname_dependabot %} supports updates to `pyproject.toml` files if they follow the PEP 621 standard. {% endif %}
55-
5661
{% ifversion dependabot-yarn-v3-update %}
57-
[6] Dependabot supports vendored dependencies for v2 onwards.{% endif %}
62+
[7] Dependabot supports vendored dependencies for v2 onwards.{% endif %}
5863

lib/languages.js

+9
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ const possibleEnvVars = {
1111
'zh-CN': process.env.TRANSLATIONS_ROOT_ZH_CN,
1212
'ja-JP': process.env.TRANSLATIONS_ROOT_JA_JP,
1313
'pt-BR': process.env.TRANSLATIONS_ROOT_PT_BR,
14+
'ru-RU': process.env.TRANSLATIONS_ROOT_RU_RU,
1415
}
1516

1617
function getRoot(languageCode) {
@@ -69,6 +70,14 @@ const languages = {
6970
dir: getRoot('pt-BR'),
7071
wip: false,
7172
},
73+
ru: {
74+
name: 'Russian',
75+
nativeName: 'русский',
76+
code: 'ru',
77+
hreflang: 'ru',
78+
dir: getRoot('ru-RU'),
79+
wip: true,
80+
},
7281
}
7382

7483
if (process.env.ENABLED_LANGUAGES) {

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@
181181
"scripts": {
182182
"browser-test": "cross-env BROWSER=1 NODE_OPTIONS=--experimental-vm-modules JEST_PUPPETEER_CONFIG=jest-puppeteer.config.cjs jest tests/browser/browser.js",
183183
"build": "next build",
184-
"debug": "cross-env NODE_ENV=development ENABLED_LANGUAGES='en,ja' nodemon --inspect server.js",
184+
"debug": "cross-env NODE_ENV=development ENABLED_LANGUAGES='en,ja,ru' nodemon --inspect server.js",
185185
"dev": "cross-env npm start",
186186
"index-test-fixtures": "node script/search/index-elasticsearch.js -l en -V ghae -V dotcom --index-prefix tests -- tests/content/fixtures/search-indexes",
187187
"lint": "eslint '**/*.{js,mjs,ts,tsx}'",
@@ -192,7 +192,7 @@
192192
"prevent-pushes-to-main": "node script/prevent-pushes-to-main.js",
193193
"rest-dev": "script/rest/update-files.js && npm run dev",
194194
"show-action-deps": "echo 'Action Dependencies:' && rg '^[\\s|-]*(uses:.*)$' .github -I -N --no-heading -r '$1$2' | sort | uniq | cut -c 7-",
195-
"start": "cross-env NODE_ENV=development ENABLED_LANGUAGES='en,ja' nodemon server.js",
195+
"start": "cross-env NODE_ENV=development ENABLED_LANGUAGES='en,ja,ru' nodemon server.js",
196196
"start-all-languages": "cross-env NODE_ENV=development nodemon server.js",
197197
"sync-search": "cross-env NODE_OPTIONS='--max_old_space_size=8192' start-server-and-test sync-search-server 4002 sync-search-indices",
198198
"sync-search-ghes-release": "cross-env GHES_RELEASE=1 start-server-and-test sync-search-server 4002 sync-search-indices",

0 commit comments

Comments
 (0)