From bbd9f03f6e56ab268eba6e612d16d15892507132 Mon Sep 17 00:00:00 2001
From: Vanessa Yuen <6842965+vanessayuenn@users.noreply.github.com>
Date: Thu, 8 Apr 2021 22:51:37 +0200
Subject: [PATCH] Populate product-landing "What's new" section using GitHub
Changelog (#18328)
Co-authored-by: Jason Etcovitch
Co-authored-by: Rachael Sewell
Co-authored-by: Sarah Schneider
---
content/README.md | 8 +-
content/actions/index.md | 13 +--
content/discussions/index.md | 2 +
content/education/index.md | 15 +--
content/packages/index.md | 11 +-
layouts/product-landing.html | 6 +-
lib/changelog.js | 42 +++++++
lib/frontmatter.js | 12 +-
.../contextualizers/whats-new-changelog.js | 13 +++
middleware/index.js | 1 +
package-lock.json | 23 +++-
package.json | 1 +
stylesheets/type.scss | 4 -
tests/fixtures/rss-feed.xml | 103 ++++++++++++++++++
tests/unit/get-rss-feeds.js | 46 ++++++++
translations/de-DE/content/actions/index.md | 14 +--
.../de-DE/content/discussions/index.md | 2 +
translations/de-DE/content/education/index.md | 17 +--
translations/de-DE/content/packages/index.md | 14 +--
translations/es-ES/content/actions/index.md | 11 +-
.../es-ES/content/discussions/index.md | 2 +
translations/es-ES/content/education/index.md | 13 +--
translations/es-ES/content/packages/index.md | 11 +-
translations/ja-JP/content/actions/index.md | 14 +--
.../ja-JP/content/discussions/index.md | 2 +
translations/ja-JP/content/education/index.md | 17 +--
translations/ja-JP/content/packages/index.md | 14 +--
translations/ko-KR/content/actions/index.md | 14 +--
.../ko-KR/content/discussions/index.md | 2 +
translations/ko-KR/content/education/index.md | 17 +--
translations/ko-KR/content/packages/index.md | 14 +--
translations/pt-BR/content/actions/index.md | 14 +--
.../pt-BR/content/discussions/index.md | 2 +
translations/pt-BR/content/education/index.md | 13 +--
translations/pt-BR/content/packages/index.md | 11 +-
translations/ru-RU/content/actions/index.md | 14 +--
.../ru-RU/content/discussions/index.md | 2 +
translations/ru-RU/content/education/index.md | 17 +--
translations/ru-RU/content/packages/index.md | 14 +--
translations/zh-CN/content/actions/index.md | 14 +--
.../zh-CN/content/discussions/index.md | 2 +
translations/zh-CN/content/education/index.md | 17 +--
translations/zh-CN/content/packages/index.md | 14 +--
43 files changed, 292 insertions(+), 320 deletions(-)
create mode 100644 lib/changelog.js
create mode 100644 middleware/contextualizers/whats-new-changelog.js
create mode 100644 tests/fixtures/rss-feed.xml
create mode 100644 tests/unit/get-rss-feeds.js
diff --git a/content/README.md b/content/README.md
index 45b571c32317..ca4ad5debde0 100644
--- a/content/README.md
+++ b/content/README.md
@@ -184,8 +184,10 @@ featuredLinks:
### `changelog`
-- Purpose: Render a list of changelog items with timestamps on product pages (ex: `layouts/product-landing.html`)
-- Type: `Array`, items are objects `{ href: string, title: string, date: 'YYYY-MM-DD' }`
+- Purpose: Render a list of items pulled from [GitHub Changelog](https://github.blog/changelog/) on product landing pages (ex: `layouts/product-landing.html`). The one exception is Education, which pulls from https://github.blog/category/community/education.
+- Type: `Object`, properties:
+ - `label` -- must be present and corresponds to the labels used in the [GitHub Changelog](https://github.blog/changelog/)
+ - `prefix` -- optional string that starts each changelog title that should be omitted in the docs feed. For example, with the prefix `GitHub Actions: ` specified, changelog titles like `GitHub Actions: Some Title Here` will render as `Some Title Here` in the docs feed).
- Optional.
### `defaultPlatform`
@@ -223,7 +225,7 @@ includeGuides:
```
### `type`
-- Purpose: Indicate the type of article.
+- Purpose: Indicate the type of article.
- Type: `String`, one of the `overview`, `quick_start`, `tutorial`, `how_to`, `reference`.
- Optional.
diff --git a/content/actions/index.md b/content/actions/index.md
index 48ff80ce2c95..d32dfec985e6 100644
--- a/content/actions/index.md
+++ b/content/actions/index.md
@@ -22,18 +22,9 @@ featuredLinks:
- /actions/reference/environment-variables
- /actions/reference/encrypted-secrets
changelog:
- - title: Environments, environment protection rules and environment secrets (beta)
- date: '2020-12-15'
- href: https://github.blog/changelog/2020-12-15-github-actions-environments-environment-protection-rules-and-environment-secrets-beta/
- - title: Workflow visualization
- date: '2020-12-08'
- href: https://github.blog/changelog/2020-12-08-github-actions-workflow-visualization/
- - title: Removing set-env and add-path commands on November 16
- date: '2020-11-09'
- href: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
-
+ label: 'actions'
+ prefix: 'GitHub Actions: '
product_video: https://www.youtube-nocookie.com/embed/cP0I9w2coGU
-
redirect_from:
- /articles/automating-your-workflow-with-github-actions/
- /articles/customizing-your-project-with-github-actions/
diff --git a/content/discussions/index.md b/content/discussions/index.md
index 84d965fd4ae4..9974eb20a236 100644
--- a/content/discussions/index.md
+++ b/content/discussions/index.md
@@ -22,6 +22,8 @@ featuredLinks:
- /discussions/guides/finding-discussions-across-multiple-repositories
- /discussions/collaborating-with-your-community-using-discussions/collaborating-with-maintainers-using-discussions
- /discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository
+changelog:
+ label: 'discussions'
product_video: https://www.youtube-nocookie.com/embed/IpBw2SJkFyk
layout: product-landing
versions:
diff --git a/content/education/index.md b/content/education/index.md
index 44ffabc2e0d6..abd70e5dc199 100644
--- a/content/education/index.md
+++ b/content/education/index.md
@@ -19,21 +19,8 @@ featuredLinks:
- /desktop
- /github/getting-started-with-github/github-cli
- /education/manage-coursework-with-github-classroom/teach-with-github-classroom
-
changelog:
- - title: 'Try something new at Local Hack Day: Learn'
- date: '2020-10-15'
- href: https://github.blog/2020-10-15-try-something-new-at-local-hack-day-learn/
- - title: 'Remote Education: Creating community through shared experiences'
- date: '2020-09-24'
- href: https://github.blog/2020-09-24-remote-education-creating-community-through-shared-experiences/
- - title: 'Remote Education: A series of best practices for online campus communities'
- date: '2020-09-10'
- href: https://github.blog/2020-09-10-remote-education-a-series-of-best-practices-for-online-campus-communities/
- - title: Welcome to the inaugural class of MLH Fellows
- date: '2020-06-24'
- href: https://github.blog/2020-06-24-welcome-to-the-inaugural-class-of-mlh-fellows/
-
+ label: 'education'
layout: product-landing
versions:
free-pro-team: '*'
diff --git a/content/packages/index.md b/content/packages/index.md
index 14afebfca805..56deb1e54872 100644
--- a/content/packages/index.md
+++ b/content/packages/index.md
@@ -20,15 +20,8 @@ featuredLinks:
- /packages/guides/enabling-improved-container-support
- /packages/guides/configuring-rubygems-for-use-with-github-packages
changelog:
- - title: ghcr.io maintenance mode on 2021-01-09
- date: '2021-01-08'
- href: https://github.blog/changelog/2021-01-08-packages-ghcr-io-maintenance-mode-on-2021-01-09/
- - title: ghcr.io container names redirect to the container page
- date: '2020-12-14'
- href: https://github.blog/changelog/2020-12-14-ghcr-io-container-names-redirect-to-the-container-page/
- - title: Filter for tagged and untagged containers
- date: '2020-12-14'
- href: https://github.blog/changelog/2020-12-14-packages-can-filter-for-tagged-and-untagged-containers/
+ label: 'packages'
+ prefix: 'Packages: '
redirect_from:
- /github/managing-packages-with-github-packages
- /categories/managing-packages-with-github-package-registry
diff --git a/layouts/product-landing.html b/layouts/product-landing.html
index d876231a4779..5cd7f12c2025 100644
--- a/layouts/product-landing.html
+++ b/layouts/product-landing.html
@@ -98,12 +98,12 @@
+
+If you use any of these tokens, we encourage you to reset them now. This will give you additional security benefits and allow Secret Scanning to detect the tokens.
+Notably, the token formats now include the following updates:
+
+The character set changed from [a-f0-9] to [A-Za-z0-9_]
+The format now includes a prefix for each token type:
+
+ghp_ for Personal Access Tokens
+gho_ for OAuth Access tokens
+ghu_ for GitHub App user-to-server tokens
+ghs_ for GitHub App server-to-server tokens
+ghr_ for GitHub App refresh tokens
+
+
+
+The length of our tokens is remaining the same for now. However, GitHub tokens will likely increase in length in future updates, so integrators should plan to support tokens up to 255 characters after June 1, 2021.
+]]>
+
+
+
+ 57117
+ -
+
Compare REST API now supports pagination
+ https://github.blog/changelog/2021-03-22-compare-rest-api-now-supports-pagination
+
+
+ Tue, 23 Mar 2021 02:49:54 +0000
+ https://github.blog/changelog/2021-03-22-compare-rest-api-now-supports-pagination
+
+
+ The "Compare two commits" REST API, which returns a list of commits reachable from one commit (or branch) but not reachable from another, now supports pagination. It can also now return the results for comparisons over 250 commits.
+To learn more, see the compare two commits API reference or the guide for using pagination .
+]]>
+
+
+
+ 56979
+ -
+
GitHub Discussions GraphQL API public beta
+ https://github.blog/changelog/2021-02-23-github-discussions-graphql-api-public-beta
+
+
+ Tue, 23 Feb 2021 18:21:40 +0000
+ https://github.blog/changelog/2021-02-23-github-discussions-graphql-api-public-beta
+
+
+ The GitHub Discussions GraphQL API public beta is now available. Get started with the GitHub Discussions API .
+For questions or feedback, visit GitHub Discussions feedback .
+]]>
+
+
+
+ 56364
+
+
\ No newline at end of file
diff --git a/tests/unit/get-rss-feeds.js b/tests/unit/get-rss-feeds.js
new file mode 100644
index 000000000000..e6fa1c5dc082
--- /dev/null
+++ b/tests/unit/get-rss-feeds.js
@@ -0,0 +1,46 @@
+const Parser = require('rss-parser')
+const { getChangelogItems } = require('../../lib/changelog')
+const fs = require('fs')
+const path = require('path')
+const parser = new Parser({ timeout: 5000 })
+const rssFeedContent = fs.readFileSync(path.join(process.cwd(), 'tests/fixtures/rss-feed.xml'), 'utf8')
+
+describe('getChangelogItems module', () => {
+ let changelog
+ beforeAll(async () => {
+ const feed = await parser.parseString(rssFeedContent)
+ changelog = await getChangelogItems('GitHub Actions:', feed)
+ })
+
+ it('changelog contains 3 items', async () => {
+ expect(changelog.length).toEqual(3)
+ })
+
+ it('each changelog item has expected title, date, and href', async () => {
+ const expectedChangelogValues = [
+ {
+ title: 'Authentication token format updates are generally available',
+ date: '2021-03-31T22:22:03.000Z',
+ href: 'https://github.blog/changelog/2021-03-31-authentication-token-format-updates-are-generally-available'
+ },
+ {
+ title: 'Compare REST API now supports pagination',
+ date: '2021-03-23T02:49:54.000Z',
+ href: 'https://github.blog/changelog/2021-03-22-compare-rest-api-now-supports-pagination'
+ },
+ {
+ title: 'GitHub Discussions GraphQL API public beta',
+ date: '2021-02-23T18:21:40.000Z',
+ href: 'https://github.blog/changelog/2021-02-23-github-discussions-graphql-api-public-beta'
+ }
+ ]
+
+ for (let i = 0; i < 3; i++) {
+ const changeLogEntry = changelog[i]
+ const expectedEntry = expectedChangelogValues[i]
+ expect(changeLogEntry.title).toBe(expectedEntry.title)
+ expect(changeLogEntry.date).toBe(expectedEntry.date)
+ expect(changeLogEntry.href).toBe(expectedEntry.href)
+ }
+ })
+})
diff --git a/translations/de-DE/content/actions/index.md b/translations/de-DE/content/actions/index.md
index 7a12b34aac48..d1595477fe70 100644
--- a/translations/de-DE/content/actions/index.md
+++ b/translations/de-DE/content/actions/index.md
@@ -22,18 +22,8 @@ featuredLinks:
- /actions/reference/environment-variables
- /actions/reference/encrypted-secrets
changelog:
- -
- title: Environments, environment protection rules and environment secrets (beta)
- date: '2020-12-15'
- href: https://github.blog/changelog/2020-12-15-github-actions-environments-environment-protection-rules-and-environment-secrets-beta/
- -
- title: Workflow visualization
- date: '2020-12-08'
- href: https://github.blog/changelog/2020-12-08-github-actions-workflow-visualization/
- -
- title: Removing set-env and add-path commands on November 16
- date: '2020-11-09'
- href: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
+ label: 'actions'
+ prefix: 'GitHub Actions: '
product_video: https://www.youtube-nocookie.com/embed/cP0I9w2coGU
redirect_from:
- /articles/automating-your-workflow-with-github-actions/
diff --git a/translations/de-DE/content/discussions/index.md b/translations/de-DE/content/discussions/index.md
index 84d965fd4ae4..9974eb20a236 100644
--- a/translations/de-DE/content/discussions/index.md
+++ b/translations/de-DE/content/discussions/index.md
@@ -22,6 +22,8 @@ featuredLinks:
- /discussions/guides/finding-discussions-across-multiple-repositories
- /discussions/collaborating-with-your-community-using-discussions/collaborating-with-maintainers-using-discussions
- /discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository
+changelog:
+ label: 'discussions'
product_video: https://www.youtube-nocookie.com/embed/IpBw2SJkFyk
layout: product-landing
versions:
diff --git a/translations/de-DE/content/education/index.md b/translations/de-DE/content/education/index.md
index 782c20b772ce..abd70e5dc199 100644
--- a/translations/de-DE/content/education/index.md
+++ b/translations/de-DE/content/education/index.md
@@ -20,22 +20,7 @@ featuredLinks:
- /github/getting-started-with-github/github-cli
- /education/manage-coursework-with-github-classroom/teach-with-github-classroom
changelog:
- -
- title: 'Try something new at Local Hack Day: Learn'
- date: '2020-10-15'
- href: https://github.blog/2020-10-15-try-something-new-at-local-hack-day-learn/
- -
- title: 'Remote Education: Creating community through shared experiences'
- date: '2020-09-24'
- href: https://github.blog/2020-09-24-remote-education-creating-community-through-shared-experiences/
- -
- title: 'Remote Education: A series of best practices for online campus communities'
- date: '2020-09-10'
- href: https://github.blog/2020-09-10-remote-education-a-series-of-best-practices-for-online-campus-communities/
- -
- title: Welcome to the inaugural class of MLH Fellows
- date: '2020-06-24'
- href: https://github.blog/2020-06-24-welcome-to-the-inaugural-class-of-mlh-fellows/
+ label: 'education'
layout: product-landing
versions:
free-pro-team: '*'
diff --git a/translations/de-DE/content/packages/index.md b/translations/de-DE/content/packages/index.md
index d28ce85e8b70..56deb1e54872 100644
--- a/translations/de-DE/content/packages/index.md
+++ b/translations/de-DE/content/packages/index.md
@@ -20,18 +20,8 @@ featuredLinks:
- /packages/guides/enabling-improved-container-support
- /packages/guides/configuring-rubygems-for-use-with-github-packages
changelog:
- -
- title: ghcr.io maintenance mode on 2021-01-09
- date: '2021-01-08'
- href: https://github.blog/changelog/2021-01-08-packages-ghcr-io-maintenance-mode-on-2021-01-09/
- -
- title: ghcr.io container names redirect to the container page
- date: '2020-12-14'
- href: https://github.blog/changelog/2020-12-14-ghcr-io-container-names-redirect-to-the-container-page/
- -
- title: Filter for tagged and untagged containers
- date: '2020-12-14'
- href: https://github.blog/changelog/2020-12-14-packages-can-filter-for-tagged-and-untagged-containers/
+ label: 'packages'
+ prefix: 'Packages: '
redirect_from:
- /github/managing-packages-with-github-packages
- /categories/managing-packages-with-github-package-registry
diff --git a/translations/es-ES/content/actions/index.md b/translations/es-ES/content/actions/index.md
index 84a2bb74ed97..73682bdedbbb 100644
--- a/translations/es-ES/content/actions/index.md
+++ b/translations/es-ES/content/actions/index.md
@@ -22,15 +22,8 @@ featuredLinks:
- /actions/reference/environment-variables
- /actions/reference/encrypted-secrets
changelog:
- - title: 'Ambientes, reglas de protección de ambiente y secretos de ambiente (beta)'
- date: '2020-12-15'
- href: 'https://github.blog/changelog/2020-12-15-github-actions-environments-environment-protection-rules-and-environment-secrets-beta/'
- - title: Visualización de flujos de trabajo
- date: '2020-12-08'
- href: 'https://github.blog/changelog/2020-12-08-github-actions-workflow-visualization/'
- - title: Eliminación de los comandos de set-env y add-path en el 16 de Noviembre
- date: '2020-11-09'
- href: 'https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/'
+ label: 'actions'
+ prefix: 'GitHub Actions: '
product_video: 'https://www.youtube-nocookie.com/embed/cP0I9w2coGU'
redirect_from:
- /articles/automating-your-workflow-with-github-actions/
diff --git a/translations/es-ES/content/discussions/index.md b/translations/es-ES/content/discussions/index.md
index 84d965fd4ae4..9974eb20a236 100644
--- a/translations/es-ES/content/discussions/index.md
+++ b/translations/es-ES/content/discussions/index.md
@@ -22,6 +22,8 @@ featuredLinks:
- /discussions/guides/finding-discussions-across-multiple-repositories
- /discussions/collaborating-with-your-community-using-discussions/collaborating-with-maintainers-using-discussions
- /discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository
+changelog:
+ label: 'discussions'
product_video: https://www.youtube-nocookie.com/embed/IpBw2SJkFyk
layout: product-landing
versions:
diff --git a/translations/es-ES/content/education/index.md b/translations/es-ES/content/education/index.md
index c5177cc6ab75..af67dbe66a73 100644
--- a/translations/es-ES/content/education/index.md
+++ b/translations/es-ES/content/education/index.md
@@ -20,18 +20,7 @@ featuredLinks:
- /github/getting-started-with-github/github-cli
- /education/manage-coursework-with-github-classroom/teach-with-github-classroom
changelog:
- - title: 'Intenta hacer algo nuevo en el día local del Hack: Aprende'
- date: '2020-10-15'
- href: 'https://github.blog/2020-10-15-try-something-new-at-local-hack-day-learn/'
- - title: 'Educación remota: Crear una comunidad mediante las experiencias compartidas'
- date: '2020-09-24'
- href: 'https://github.blog/2020-09-24-remote-education-creating-community-through-shared-experiences/'
- - title: 'Educación remota: Una serie de mejores prácticas para las comunidades de campus en línea'
- date: '2020-09-10'
- href: 'https://github.blog/2020-09-10-remote-education-a-series-of-best-practices-for-online-campus-communities/'
- - title: Bienvenido a la clase de inauguración de MLH Fellows
- date: '2020-06-24'
- href: 'https://github.blog/2020-06-24-welcome-to-the-inaugural-class-of-mlh-fellows/'
+ label: 'education'
layout: product-landing
versions:
free-pro-team: '*'
diff --git a/translations/es-ES/content/packages/index.md b/translations/es-ES/content/packages/index.md
index 829de7d6f1bb..a1b56f5806c4 100644
--- a/translations/es-ES/content/packages/index.md
+++ b/translations/es-ES/content/packages/index.md
@@ -20,15 +20,8 @@ featuredLinks:
- /packages/guides/enabling-improved-container-support
- /packages/guides/configuring-rubygems-for-use-with-github-packages
changelog:
- - title: modo de mantenimiento de ghcr.io en 2021-01-09
- date: '2021-01-08'
- href: 'https://github.blog/changelog/2021-01-08-packages-ghcr-io-maintenance-mode-on-2021-01-09/'
- - title: Los nombres de contenedor ghcr.io redireccionan a la página de dicho contenedor
- date: '2020-12-14'
- href: 'https://github.blog/changelog/2020-12-14-ghcr-io-container-names-redirect-to-the-container-page/'
- - title: Filtrar para contenedores etiquetados y no etiquetados
- date: '2020-12-14'
- href: 'https://github.blog/changelog/2020-12-14-packages-can-filter-for-tagged-and-untagged-containers/'
+ label: 'packages'
+ prefix: 'Packages: '
redirect_from:
- /github/managing-packages-with-github-packages
- /categories/managing-packages-with-github-package-registry
diff --git a/translations/ja-JP/content/actions/index.md b/translations/ja-JP/content/actions/index.md
index 41c2d3c22472..20ff4725c586 100644
--- a/translations/ja-JP/content/actions/index.md
+++ b/translations/ja-JP/content/actions/index.md
@@ -22,18 +22,8 @@ featuredLinks:
- /actions/reference/environment-variables
- /actions/reference/encrypted-secrets
changelog:
- -
- title: 環境、環境の保護ルール、環境のシークレット(ベータ)
- date: '2020-12-15'
- href: https://github.blog/changelog/2020-12-15-github-actions-environments-environment-protection-rules-and-environment-secrets-beta/
- -
- title: ワークフローの視覚化
- date: '2020-12-08'
- href: https://github.blog/changelog/2020-12-08-github-actions-workflow-visualization/
- -
- title: 11月16日に set-env コマンドと add-path コマンドを削除します
- date: '2020-11-09'
- href: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
+ label: 'actions'
+ prefix: 'GitHub Actions: '
product_video: https://www.youtube-nocookie.com/embed/cP0I9w2coGU
redirect_from:
- /articles/automating-your-workflow-with-github-actions/
diff --git a/translations/ja-JP/content/discussions/index.md b/translations/ja-JP/content/discussions/index.md
index 5d9153d9cf48..2c05f15c6c69 100644
--- a/translations/ja-JP/content/discussions/index.md
+++ b/translations/ja-JP/content/discussions/index.md
@@ -22,6 +22,8 @@ featuredLinks:
- /discussions/guides/finding-discussions-across-multiple-repositories
- /discussions/collaborating-with-your-community-using-discussions/collaborating-with-maintainers-using-discussions
- /discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository
+changelog:
+ label: 'discussions'
product_video: https://www.youtube-nocookie.com/embed/IpBw2SJkFyk
layout: product-landing
versions:
diff --git a/translations/ja-JP/content/education/index.md b/translations/ja-JP/content/education/index.md
index 00022ba20a94..a00aa3399fc8 100644
--- a/translations/ja-JP/content/education/index.md
+++ b/translations/ja-JP/content/education/index.md
@@ -20,22 +20,7 @@ featuredLinks:
- /github/getting-started-with-github/github-cli
- /education/manage-coursework-with-github-classroom/teach-with-github-classroom
changelog:
- -
- title: 'Local Hack Day: Learnで新しいことを試してみる'
- date: '2020-10-15'
- href: https://github.blog/2020-10-15-try-something-new-at-local-hack-day-learn/
- -
- title: 'リモート教育: 共有体験を通じてコミュニティを生み出す'
- date: '2020-09-24'
- href: https://github.blog/2020-09-24-remote-education-creating-community-through-shared-experiences/
- -
- title: 'リモート教育: オンラインキャンパスコミュニティのためのベストプラクティスを扱うシリーズ'
- date: '2020-09-10'
- href: https://github.blog/2020-09-10-remote-education-a-series-of-best-practices-for-online-campus-communities/
- -
- title: MLHフェローの一期生になろう
- date: '2020-06-24'
- href: https://github.blog/2020-06-24-welcome-to-the-inaugural-class-of-mlh-fellows/
+ label: 'education'
layout: product-landing
versions:
free-pro-team: '*'
diff --git a/translations/ja-JP/content/packages/index.md b/translations/ja-JP/content/packages/index.md
index c79576325f47..fb6feeb34e4d 100644
--- a/translations/ja-JP/content/packages/index.md
+++ b/translations/ja-JP/content/packages/index.md
@@ -20,18 +20,8 @@ featuredLinks:
- /packages/guides/enabling-improved-container-support
- /packages/guides/configuring-rubygems-for-use-with-github-packages
changelog:
- -
- title: 2021年1月9日、ghcr.ioはメンテナンスモードになります
- date: '2021-01-08'
- href: https://github.blog/changelog/2021-01-08-packages-ghcr-io-maintenance-mode-on-2021-01-09/
- -
- title: ghcr.ioコンテナ名は、コンテナページにリダイレクトされます
- date: '2020-12-14'
- href: https://github.blog/changelog/2020-12-14-ghcr-io-container-names-redirect-to-the-container-page/
- -
- title: タグ付きおよびタグなしコンテナのフィルター
- date: '2020-12-14'
- href: https://github.blog/changelog/2020-12-14-packages-can-filter-for-tagged-and-untagged-containers/
+ label: 'packages'
+ prefix: 'Packages: '
redirect_from:
- /github/managing-packages-with-github-packages
- /categories/managing-packages-with-github-package-registry
diff --git a/translations/ko-KR/content/actions/index.md b/translations/ko-KR/content/actions/index.md
index bfb31258c377..d32dfec985e6 100644
--- a/translations/ko-KR/content/actions/index.md
+++ b/translations/ko-KR/content/actions/index.md
@@ -22,18 +22,8 @@ featuredLinks:
- /actions/reference/environment-variables
- /actions/reference/encrypted-secrets
changelog:
- -
- title: Environments, environment protection rules and environment secrets (beta)
- date: '2020-12-15'
- href: https://github.blog/changelog/2020-12-15-github-actions-environments-environment-protection-rules-and-environment-secrets-beta/
- -
- title: Workflow visualization
- date: '2020-12-08'
- href: https://github.blog/changelog/2020-12-08-github-actions-workflow-visualization/
- -
- title: Removing set-env and add-path commands on November 16
- date: '2020-11-09'
- href: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
+ label: 'actions'
+ prefix: 'GitHub Actions: '
product_video: https://www.youtube-nocookie.com/embed/cP0I9w2coGU
redirect_from:
- /articles/automating-your-workflow-with-github-actions/
diff --git a/translations/ko-KR/content/discussions/index.md b/translations/ko-KR/content/discussions/index.md
index 84d965fd4ae4..9974eb20a236 100644
--- a/translations/ko-KR/content/discussions/index.md
+++ b/translations/ko-KR/content/discussions/index.md
@@ -22,6 +22,8 @@ featuredLinks:
- /discussions/guides/finding-discussions-across-multiple-repositories
- /discussions/collaborating-with-your-community-using-discussions/collaborating-with-maintainers-using-discussions
- /discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository
+changelog:
+ label: 'discussions'
product_video: https://www.youtube-nocookie.com/embed/IpBw2SJkFyk
layout: product-landing
versions:
diff --git a/translations/ko-KR/content/education/index.md b/translations/ko-KR/content/education/index.md
index 782c20b772ce..abd70e5dc199 100644
--- a/translations/ko-KR/content/education/index.md
+++ b/translations/ko-KR/content/education/index.md
@@ -20,22 +20,7 @@ featuredLinks:
- /github/getting-started-with-github/github-cli
- /education/manage-coursework-with-github-classroom/teach-with-github-classroom
changelog:
- -
- title: 'Try something new at Local Hack Day: Learn'
- date: '2020-10-15'
- href: https://github.blog/2020-10-15-try-something-new-at-local-hack-day-learn/
- -
- title: 'Remote Education: Creating community through shared experiences'
- date: '2020-09-24'
- href: https://github.blog/2020-09-24-remote-education-creating-community-through-shared-experiences/
- -
- title: 'Remote Education: A series of best practices for online campus communities'
- date: '2020-09-10'
- href: https://github.blog/2020-09-10-remote-education-a-series-of-best-practices-for-online-campus-communities/
- -
- title: Welcome to the inaugural class of MLH Fellows
- date: '2020-06-24'
- href: https://github.blog/2020-06-24-welcome-to-the-inaugural-class-of-mlh-fellows/
+ label: 'education'
layout: product-landing
versions:
free-pro-team: '*'
diff --git a/translations/ko-KR/content/packages/index.md b/translations/ko-KR/content/packages/index.md
index d28ce85e8b70..56deb1e54872 100644
--- a/translations/ko-KR/content/packages/index.md
+++ b/translations/ko-KR/content/packages/index.md
@@ -20,18 +20,8 @@ featuredLinks:
- /packages/guides/enabling-improved-container-support
- /packages/guides/configuring-rubygems-for-use-with-github-packages
changelog:
- -
- title: ghcr.io maintenance mode on 2021-01-09
- date: '2021-01-08'
- href: https://github.blog/changelog/2021-01-08-packages-ghcr-io-maintenance-mode-on-2021-01-09/
- -
- title: ghcr.io container names redirect to the container page
- date: '2020-12-14'
- href: https://github.blog/changelog/2020-12-14-ghcr-io-container-names-redirect-to-the-container-page/
- -
- title: Filter for tagged and untagged containers
- date: '2020-12-14'
- href: https://github.blog/changelog/2020-12-14-packages-can-filter-for-tagged-and-untagged-containers/
+ label: 'packages'
+ prefix: 'Packages: '
redirect_from:
- /github/managing-packages-with-github-packages
- /categories/managing-packages-with-github-package-registry
diff --git a/translations/pt-BR/content/actions/index.md b/translations/pt-BR/content/actions/index.md
index 8883b81ccfe4..c233057f61eb 100644
--- a/translations/pt-BR/content/actions/index.md
+++ b/translations/pt-BR/content/actions/index.md
@@ -22,18 +22,8 @@ featuredLinks:
- /actions/reference/environment-variables
- /actions/reference/encrypted-secrets
changelog:
- -
- title: Ambientes, regras de proteção do ambiente e segredos de ambiente (beta)
- date: '2020-12-15'
- href: https://github.blog/changelog/2020-12-15-github-actions-environments-environment-protection-rules-and-environment-secrets-beta/
- -
- title: Visualização do fluxo de trabalho
- date: '2020-12-08'
- href: https://github.blog/changelog/2020-12-08-github-actions-workflow-visualization/
- -
- title: Remover comandos set-env e add-path em 16 de novembro
- date: '2020-11-09'
- href: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
+ label: 'actions'
+ prefix: 'GitHub Actions: '
product_video: https://www.youtube-nocookie.com/embed/cP0I9w2coGU
redirect_from:
- /articles/automating-your-workflow-with-github-actions/
diff --git a/translations/pt-BR/content/discussions/index.md b/translations/pt-BR/content/discussions/index.md
index 55df92b767bb..1af086979ad3 100644
--- a/translations/pt-BR/content/discussions/index.md
+++ b/translations/pt-BR/content/discussions/index.md
@@ -22,6 +22,8 @@ featuredLinks:
- /discussions/guides/finding-discussions-across-multiple-repositories
- /discussions/collaborating-with-your-community-using-discussions/collaborating-with-maintainers-using-discussions
- /discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository
+changelog:
+ label: 'discussions'
product_video: https://www.youtube-nocookie.com/embed/IpBw2SJkFyk
layout: product-landing
versions:
diff --git a/translations/pt-BR/content/education/index.md b/translations/pt-BR/content/education/index.md
index 5c35dc024844..6dfce87d3bda 100644
--- a/translations/pt-BR/content/education/index.md
+++ b/translations/pt-BR/content/education/index.md
@@ -20,18 +20,7 @@ featuredLinks:
- /github/getting-started-with-github/github-cli
- /education/manage-coursework-with-github-classroom/teach-with-github-classroom
changelog:
- - title: 'Tente algo novo no dia local do Hack: Aprenda'
- date: '2020-10-15'
- href: 'https://github.blog/2020-10-15-try-something-new-at-local-hack-day-learn/'
- - title: 'Educação remota: criar comunidade por meio de experiências compartilhadas'
- date: '2020-09-24'
- href: 'https://github.blog/2020-09-24-remote-education-creating-community-through-shared-experiences/'
- - title: 'Educação remota: Uma série de práticas recomendadas para comunidades do campus on-line'
- date: '2020-09-10'
- href: 'https://github.blog/2020-09-10-remote-education-a-series-of-best-practices-for-online-campus-communities/'
- - title: Bem-vindo à classe inaugural de MLH Fellows
- date: '2020-06-24'
- href: 'https://github.blog/2020-06-24-welcome-to-the-inaugural-class-of-mlh-fellows/'
+ label: 'education'
layout: product-landing
versions:
free-pro-team: '*'
diff --git a/translations/pt-BR/content/packages/index.md b/translations/pt-BR/content/packages/index.md
index 216e5b7896bf..7f30b9ab5e07 100644
--- a/translations/pt-BR/content/packages/index.md
+++ b/translations/pt-BR/content/packages/index.md
@@ -20,15 +20,8 @@ featuredLinks:
- /packages/guides/enabling-improved-container-support
- /packages/guides/configuring-rubygems-for-use-with-github-packages
changelog:
- - title: Modo de manutenção do ghcr.io em 2021-01-09
- date: '2021-01-08'
- href: 'https://github.blog/changelog/2021-01-08-packages-ghcr-io-maintenance-mode-on-2021-01-09/'
- - title: Os nomes de contêineres de ghcr.io redirecionam para a página do contêiner
- date: '2020-12-14'
- href: 'https://github.blog/changelog/2020-12-14-ghcr-io-container-names-redirect-to-the-container-page/'
- - title: Filtro para contêineres marcados e sem tags
- date: '2020-12-14'
- href: 'https://github.blog/changelog/2020-12-14-packages-can-filter-for-tagged-and-untagged-containers/'
+ label: 'packages'
+ prefix: 'Packages: '
redirect_from:
- /github/managing-packages-with-github-packages
- /categories/managing-packages-with-github-package-registry
diff --git a/translations/ru-RU/content/actions/index.md b/translations/ru-RU/content/actions/index.md
index bfb31258c377..d32dfec985e6 100644
--- a/translations/ru-RU/content/actions/index.md
+++ b/translations/ru-RU/content/actions/index.md
@@ -22,18 +22,8 @@ featuredLinks:
- /actions/reference/environment-variables
- /actions/reference/encrypted-secrets
changelog:
- -
- title: Environments, environment protection rules and environment secrets (beta)
- date: '2020-12-15'
- href: https://github.blog/changelog/2020-12-15-github-actions-environments-environment-protection-rules-and-environment-secrets-beta/
- -
- title: Workflow visualization
- date: '2020-12-08'
- href: https://github.blog/changelog/2020-12-08-github-actions-workflow-visualization/
- -
- title: Removing set-env and add-path commands on November 16
- date: '2020-11-09'
- href: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
+ label: 'actions'
+ prefix: 'GitHub Actions: '
product_video: https://www.youtube-nocookie.com/embed/cP0I9w2coGU
redirect_from:
- /articles/automating-your-workflow-with-github-actions/
diff --git a/translations/ru-RU/content/discussions/index.md b/translations/ru-RU/content/discussions/index.md
index 84d965fd4ae4..9974eb20a236 100644
--- a/translations/ru-RU/content/discussions/index.md
+++ b/translations/ru-RU/content/discussions/index.md
@@ -22,6 +22,8 @@ featuredLinks:
- /discussions/guides/finding-discussions-across-multiple-repositories
- /discussions/collaborating-with-your-community-using-discussions/collaborating-with-maintainers-using-discussions
- /discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository
+changelog:
+ label: 'discussions'
product_video: https://www.youtube-nocookie.com/embed/IpBw2SJkFyk
layout: product-landing
versions:
diff --git a/translations/ru-RU/content/education/index.md b/translations/ru-RU/content/education/index.md
index 782c20b772ce..abd70e5dc199 100644
--- a/translations/ru-RU/content/education/index.md
+++ b/translations/ru-RU/content/education/index.md
@@ -20,22 +20,7 @@ featuredLinks:
- /github/getting-started-with-github/github-cli
- /education/manage-coursework-with-github-classroom/teach-with-github-classroom
changelog:
- -
- title: 'Try something new at Local Hack Day: Learn'
- date: '2020-10-15'
- href: https://github.blog/2020-10-15-try-something-new-at-local-hack-day-learn/
- -
- title: 'Remote Education: Creating community through shared experiences'
- date: '2020-09-24'
- href: https://github.blog/2020-09-24-remote-education-creating-community-through-shared-experiences/
- -
- title: 'Remote Education: A series of best practices for online campus communities'
- date: '2020-09-10'
- href: https://github.blog/2020-09-10-remote-education-a-series-of-best-practices-for-online-campus-communities/
- -
- title: Welcome to the inaugural class of MLH Fellows
- date: '2020-06-24'
- href: https://github.blog/2020-06-24-welcome-to-the-inaugural-class-of-mlh-fellows/
+ label: 'education'
layout: product-landing
versions:
free-pro-team: '*'
diff --git a/translations/ru-RU/content/packages/index.md b/translations/ru-RU/content/packages/index.md
index d28ce85e8b70..56deb1e54872 100644
--- a/translations/ru-RU/content/packages/index.md
+++ b/translations/ru-RU/content/packages/index.md
@@ -20,18 +20,8 @@ featuredLinks:
- /packages/guides/enabling-improved-container-support
- /packages/guides/configuring-rubygems-for-use-with-github-packages
changelog:
- -
- title: ghcr.io maintenance mode on 2021-01-09
- date: '2021-01-08'
- href: https://github.blog/changelog/2021-01-08-packages-ghcr-io-maintenance-mode-on-2021-01-09/
- -
- title: ghcr.io container names redirect to the container page
- date: '2020-12-14'
- href: https://github.blog/changelog/2020-12-14-ghcr-io-container-names-redirect-to-the-container-page/
- -
- title: Filter for tagged and untagged containers
- date: '2020-12-14'
- href: https://github.blog/changelog/2020-12-14-packages-can-filter-for-tagged-and-untagged-containers/
+ label: 'packages'
+ prefix: 'Packages: '
redirect_from:
- /github/managing-packages-with-github-packages
- /categories/managing-packages-with-github-package-registry
diff --git a/translations/zh-CN/content/actions/index.md b/translations/zh-CN/content/actions/index.md
index 1e2ea89acf82..f30ba6242c41 100644
--- a/translations/zh-CN/content/actions/index.md
+++ b/translations/zh-CN/content/actions/index.md
@@ -22,18 +22,8 @@ featuredLinks:
- /actions/reference/environment-variables
- /actions/reference/encrypted-secrets
changelog:
- -
- title: 环境、环境保护规则和环境密码(测试版)
- date: '2020-12-15'
- href: https://github.blog/changelog/2020-12-15-github-actions-environments-environment-protection-rules-and-environment-secrets-beta/
- -
- title: 工作流程可视化
- date: '2020-12-08'
- href: https://github.blog/changelog/2020-12-08-github-actions-workflow-visualization/
- -
- title: 11 月 16 日删除 set-env 和 add-path 命令
- date: '2020-11-09'
- href: https://github.blog/changelog/2020-10-01-github-actions-deprecating-set-env-and-add-path-commands/
+ label: 'actions'
+ prefix: 'GitHub Actions: '
product_video: https://www.youtube-nocookie.com/embed/cP0I9w2coGU
redirect_from:
- /articles/automating-your-workflow-with-github-actions/
diff --git a/translations/zh-CN/content/discussions/index.md b/translations/zh-CN/content/discussions/index.md
index e071a94085cc..e99b5130744a 100644
--- a/translations/zh-CN/content/discussions/index.md
+++ b/translations/zh-CN/content/discussions/index.md
@@ -22,6 +22,8 @@ featuredLinks:
- /discussions/guides/finding-discussions-across-multiple-repositories
- /discussions/collaborating-with-your-community-using-discussions/collaborating-with-maintainers-using-discussions
- /discussions/managing-discussions-for-your-community/managing-categories-for-discussions-in-your-repository
+changelog:
+ label: 'discussions'
product_video: https://www.youtube-nocookie.com/embed/IpBw2SJkFyk
layout: product-landing
versions:
diff --git a/translations/zh-CN/content/education/index.md b/translations/zh-CN/content/education/index.md
index 92489bafe571..ed76ef7a74f0 100644
--- a/translations/zh-CN/content/education/index.md
+++ b/translations/zh-CN/content/education/index.md
@@ -20,22 +20,7 @@ featuredLinks:
- /github/getting-started-with-github/github-cli
- /education/manage-coursework-with-github-classroom/teach-with-github-classroom
changelog:
- -
- title: '在 Local Hack Day(当地黑客日)尝试新内容:学习'
- date: '2020-10-15'
- href: https://github.blog/2020-10-15-try-something-new-at-local-hack-day-learn/
- -
- title: '远程教育:通过共享体验创建社区'
- date: '2020-09-24'
- href: https://github.blog/2020-09-24-remote-education-creating-community-through-shared-experiences/
- -
- title: '远程教育:在线校园社区的一系列最佳实践'
- date: '2020-09-10'
- href: https://github.blog/2020-09-10-remote-education-a-series-of-best-practices-for-online-campus-communities/
- -
- title: 欢迎来到 MLH 研究员的首期课程
- date: '2020-06-24'
- href: https://github.blog/2020-06-24-welcome-to-the-inaugural-class-of-mlh-fellows/
+ label: 'education'
layout: product-landing
versions:
free-pro-team: '*'
diff --git a/translations/zh-CN/content/packages/index.md b/translations/zh-CN/content/packages/index.md
index 03da6374d4d7..3364477befaf 100644
--- a/translations/zh-CN/content/packages/index.md
+++ b/translations/zh-CN/content/packages/index.md
@@ -20,18 +20,8 @@ featuredLinks:
- /packages/guides/enabling-improved-container-support
- /packages/guides/configuring-rubygems-for-use-with-github-packages
changelog:
- -
- title: 2021-01-09 的 ghcr.io 维护模式
- date: '2021-01-08'
- href: https://github.blog/changelog/2021-01-08-packages-ghcr-io-maintenance-mode-on-2021-01-09/
- -
- title: ghcr.io 容器名称重定向到容器页
- date: '2020-12-14'
- href: https://github.blog/changelog/2020-12-14-ghcr-io-container-names-redirect-to-the-container-page/
- -
- title: 过滤已标记和未标记的容器
- date: '2020-12-14'
- href: https://github.blog/changelog/2020-12-14-packages-can-filter-for-tagged-and-untagged-containers/
+ label: 'packages'
+ prefix: 'Packages: '
redirect_from:
- /github/managing-packages-with-github-packages
- /categories/managing-packages-with-github-package-registry