Skip to content

Commit e33c94d

Browse files
authored
Merge pull request github#32979 from github/repo-sync
Repo sync
2 parents 5c4b06c + 38ceff4 commit e33c94d

File tree

12 files changed

+55
-33
lines changed

12 files changed

+55
-33
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
# --------------------------------------------------------------------------------
66
# To update the sha, run `docker pull node:$VERSION-alpine`
77
# look for something like: `Digest: sha256:0123456789abcdef`
8-
FROM node:20-alpine@sha256:7a91aa397f2e2dfbfcdad2e2d72599f374e0b0172be1d86eeb73f1d33f36a4b2 as base
8+
FROM node:20-alpine@sha256:291e84d956f1aff38454bbd3da38941461ad569a185c20aa289f71f37ea08e23 as base
99

1010
# This directory is owned by the node user
1111
ARG APP_HOME=/home/node/app

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

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,14 +73,14 @@ Use `git status` to list all new or modified files that haven't yet been committ
7373

7474
To format code or text into its own distinct block, use triple backticks.
7575

76-
<pre>
76+
````text
7777
Some basic Git commands are:
7878
```
7979
git status
8080
git add
8181
git commit
8282
```
83-
</pre>
83+
````
8484

8585
![Screenshot of rendered GitHub Markdown showing a code block. The words "git status," "git add," and "git commit" appear in a fixed-width typeface, highlighted in light gray.](/assets/images/help/writing/code-block-rendered.png)
8686

@@ -250,8 +250,6 @@ You can create multiple levels of nested lists using the same method. For exampl
250250

251251
For more examples, see the [GitHub Flavored Markdown Spec](https://github.github.com/gfm/#example-265).
252252

253-
{% ifversion task-lists-v1 %}
254-
255253
## Task lists
256254

257255
{% data reusables.repositories.task-list-markdown %}
@@ -261,7 +259,6 @@ If a task list item description begins with a parenthesis, you'll need to escape
261259
`- [ ] \(Optional) Open a followup issue`
262260

263261
For more information, see "[AUTOTITLE](/get-started/writing-on-github/working-with-advanced-formatting/about-task-lists)."
264-
{% endif %}
265262

266263
## Mentioning people and teams
267264

content/get-started/writing-on-github/working-with-advanced-formatting/about-task-lists.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,9 @@ redirect_from:
88
- /issues/tracking-your-work-with-issues/creating-issues/about-task-lists
99
- /issues/tracking-your-work-with-issues/about-task-lists
1010
versions:
11-
feature: task-lists-v1
11+
fpt: '*'
12+
ghes: '*'
13+
ghec: '*'
1214
topics:
1315
- Pull requests
1416
- Issues

content/issues/planning-and-tracking-with-projects/learning-about-projects/best-practices-for-projects.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ You can use {% data variables.product.prodname_projects_v2 %} to manage your wor
1919

2020
Breaking a large issue into smaller issues makes the work more manageable and enables team members to work in parallel. It also leads to smaller pull requests, which are easier to review.
2121

22-
To track how smaller issues fit into the larger goal, use {% ifversion task-lists-v1 %}task lists, milestones, or labels.{% else %} milestones or labels.{% endif %} For more information, see {% ifversion projects-v2-tasklists %}"[AUTOTITLE](/issues/tracking-your-work-with-issues/about-tasklists)"{% endif %}{% ifversion ghes %}"[AUTOTITLE](/get-started/writing-on-github/working-with-advanced-formatting/about-task-lists)"{% endif %}, "[AUTOTITLE](/issues/using-labels-and-milestones-to-track-work/about-milestones)", and "[AUTOTITLE](/issues/using-labels-and-milestones-to-track-work/managing-labels)."
22+
To track how smaller issues fit into the larger goal, use task lists, milestones, or labels. For more information, see {% ifversion projects-v2-tasklists %}"[AUTOTITLE](/issues/tracking-your-work-with-issues/about-tasklists)"{% endif %}{% ifversion ghes %}"[AUTOTITLE](/get-started/writing-on-github/working-with-advanced-formatting/about-task-lists)"{% endif %}, "[AUTOTITLE](/issues/using-labels-and-milestones-to-track-work/about-milestones)", and "[AUTOTITLE](/issues/using-labels-and-milestones-to-track-work/managing-labels)."
2323

2424
## Communicate
2525

content/issues/tracking-your-work-with-issues/planning-and-tracking-work-for-your-team-or-project.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -74,16 +74,13 @@ Here is an example of an issue created for a large initiative, front-end work, i
7474

7575
![Screenshot of an issue called "Front-end work for Project Octocat." The issue body includes a list of tasks to complete.](/assets/images/help/issues/quickstart-create-large-initiative-issue.png)
7676

77-
{% ifversion task-lists-v1 %}
78-
7977
### Task list example
8078

8179
You can use task lists to break larger issues down into smaller tasks and to track issues as part of a larger goal. {% ifversion fpt or ghec %} Task lists have additional functionality when added to the body of an issue. You can see the number of tasks completed out of the total at the top of the issue, and if someone closes an issue linked in the task list, the checkbox will automatically be marked as complete.{% endif %} For more information, see "[AUTOTITLE](/get-started/writing-on-github/working-with-advanced-formatting/about-task-lists)."
8280

8381
Below we have added a task list to our Project Octocat issue, breaking it down into smaller issues.
8482

8583
![Screenshot of an issue called "Front-end work for Project Octocat." The issue body contains a task list, with a checkbox preceding each issue link.](/assets/images/help/issues/quickstart-add-task-list-to-issue.png)
86-
{% endif %}
8784

8885
## Making decisions as a team
8986

@@ -147,8 +144,8 @@ You have now learned about the tools {% data variables.product.prodname_dotcom %
147144
- "[AUTOTITLE](/repositories/creating-and-managing-repositories/about-repositories)" for learning more about creating repositories
148145
- "[AUTOTITLE](/issues/tracking-your-work-with-issues)" for learning more about different ways to create and manage issues
149146
- "[AUTOTITLE](/communities/using-templates-to-encourage-useful-issues-and-pull-requests/about-issue-and-pull-request-templates)" for learning more about issue templates
150-
- "[AUTOTITLE](/issues/using-labels-and-milestones-to-track-work/managing-labels)" for learning how to create, edit and delete labels{% ifversion task-lists-v1 %}
151-
- "[AUTOTITLE](/get-started/writing-on-github/working-with-advanced-formatting/about-task-lists)" for learning more about task lists{% endif %}
147+
- "[AUTOTITLE](/issues/using-labels-and-milestones-to-track-work/managing-labels)" for learning how to create, edit and delete labels
148+
- "[AUTOTITLE](/get-started/writing-on-github/working-with-advanced-formatting/about-task-lists)" for learning more about task lists
152149
{% ifversion projects-v2 %} - "[AUTOTITLE](/issues/planning-and-tracking-with-projects/learning-about-projects/about-projects)" for learning more about projects
153150
- "[AUTOTITLE](/issues/planning-and-tracking-with-projects/customizing-views-in-your-project/changing-the-layout-of-a-view)" for learning how to customize views for projects{% endif %}
154151
{% ifversion projects-v1 %}- "[AUTOTITLE](/issues/organizing-your-work-with-project-boards/managing-project-boards/about-project-boards)" for learning how to manage {% data variables.projects.projects_v1_boards %}{% endif %}

content/issues/tracking-your-work-with-issues/quickstart.md

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,14 +39,11 @@ You can use markdown to add formatting, links, emojis, and more. For more inform
3939

4040
![Screenshot of the new issue form, with a title and body filled in.](/assets/images/help/issues/issue-title-body.png)
4141

42-
{% ifversion task-lists-v1 %}
43-
4442
## Adding a task list
4543

4644
It can be helpful to break large issues into smaller tasks, or to track multiple related issues in a single larger issue. Add a task list to your issue by prefacing list items with `[ ]`. Reference existing issues by issue number or URL. You can use plain text to track tasks that don't have a corresponding issue and convert them to issues later. For more information, see "[AUTOTITLE](/get-started/writing-on-github/working-with-advanced-formatting/about-task-lists)."
4745

4846
![Screenshot of the new issue form, with the title and body filled in. The body includes the Markdown for a task list.](/assets/images/help/issues/issue-task-list-raw.png)
49-
{% endif %}
5047

5148
## Adding labels
5249

content/pull-requests/collaborating-with-pull-requests/getting-started/best-practices-for-pull-requests.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ If you are a repository maintainer, take these steps to manage and standardize t
4242

4343
Pull request templates let you customize and standardize the information you'd like to be included when someone creates a pull request in your repository. When you add a pull request template to your repository, project contributors will automatically see the template's contents in the pull request body. For more information, see "[AUTOTITLE](/communities/using-templates-to-encourage-useful-issues-and-pull-requests/creating-a-pull-request-template-for-your-repository)."
4444

45-
{% ifversion task-lists-v1 %} You can use pull request templates to standardize the review process for your repository. For example, you can include a list of tasks that you would like authors to complete before merging their pull requests, by adding a task list to the template. For more information, see "[AUTOTITLE](/get-started/writing-on-github/working-with-advanced-formatting/about-task-lists)."{% endif %}
45+
You can use pull request templates to standardize the review process for your repository. For example, you can include a list of tasks that you would like authors to complete before merging their pull requests, by adding a task list to the template. For more information, see "[AUTOTITLE](/get-started/writing-on-github/working-with-advanced-formatting/about-task-lists)."
4646

4747
You can request that contributors include an issue reference in their pull request body, so that merging the pull request will automatically close the issue. For more information, see "[AUTOTITLE](/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue)."
4848

package-lock.json

Lines changed: 7 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,7 @@
290290
"@graphql-tools/load": "^8.0.0",
291291
"@octokit/rest": "^20.1.0",
292292
"@playwright/test": "1.44.0",
293+
"@types/accept-language-parser": "1.5.6",
293294
"@types/connect-datadog": "0.0.10",
294295
"@types/connect-timeout": "0.0.39",
295296
"@types/cookie": "0.6.0",

src/frame/middleware/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import {
1717
} from './set-fastly-surrogate-key.js'
1818
import handleErrors from '@/observability/middleware/handle-errors'
1919
import handleNextDataPath from './handle-next-data-path'
20-
import detectLanguage from '@/languages/middleware/detect-language.js'
20+
import detectLanguage from '@/languages/middleware/detect-language'
2121
import reloadTree from './reload-tree.js'
2222
import context from './context/context.js'
2323
import shortVersions from '@/versions/middleware/short-versions.js'

0 commit comments

Comments
 (0)