Skip to content

Commit 45eb820

Browse files
Update branch name
1 parent 4a65dc1 commit 45eb820

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

content/actions/sharing-automations/creating-workflow-templates-for-your-organization.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ This procedure demonstrates how to create a workflow template and metadata file.
105105
* An icon from {% data variables.product.prodname_dotcom %}'s set of [Octicons](https://primer.style/octicons/). To reference an octicon, the value must be `octicon <icon name>`. For example, `octicon smiley`.
106106
* `categories` - **Optional.** Defines the categories that the workflow is shown under. You can use category names from the following lists:
107107
* General category names from the [starter-workflows](https://github.com/actions/starter-workflows/blob/main/README.md#categories) repository.
108-
* Linguist languages from the list in the [linguist](https://github.com/github-linguist/linguist/blob/master/lib/linguist/languages.yml) repository.
108+
* Linguist languages from the list in the [linguist](https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml) repository.
109109
* Supported tech stacks from the list in the [starter-workflows](https://github.com/github-starter-workflows/repo-analysis-partner/blob/main/tech_stacks.yml) repository.
110110

111111
* `filePatterns` - **Optional.** Allows the workflow to be used if the user's repository has a file in its root directory that matches a defined regular expression.

content/apps/oauth-apps/building-oauth-apps/authenticating-to-the-rest-api-with-an-oauth-app.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ Next, in _views/index.erb_, paste this content:
8787
</html>
8888
```
8989

90-
(If you're unfamiliar with how Sinatra works, we recommend [reading the Sinatra guide](https://github.com/sinatra/sinatra-book/blob/master/book/Introduction.markdown#hello-world-application).)
90+
(If you're unfamiliar with how Sinatra works, we recommend [reading the Sinatra guide](https://github.com/sinatra/sinatra-book/blob/main/book/Introduction.markdown#hello-world-application).)
9191

9292
Also, notice that the URL uses the `scope` query parameter to define the
9393
[scopes](/apps/oauth-apps/building-oauth-apps/scopes-for-oauth-apps) requested by the application. For our application, we're

content/communities/using-templates-to-encourage-useful-issues-and-pull-requests/syntax-for-githubs-form-schema.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ You can use a `textarea` element to add a multi-line text field to your form. Co
118118
| `description` | A description of the text area to provide context or guidance, which is displayed in the form. | {% octicon "x" aria-label="Optional" %} | String | Empty String | {% octicon "dash" aria-label="Not applicable" %} |
119119
| `placeholder` | A semi-opaque placeholder that renders in the text area when empty. | {% octicon "x" aria-label="Optional" %} | String | Empty String | {% octicon "dash" aria-label="Not applicable" %} |
120120
| `value` | Text that is pre-filled in the text area. | {% octicon "x" aria-label="Optional" %} | String | {% octicon "dash" aria-label="Not applicable" %} | {% octicon "dash" aria-label="Not applicable" %} |
121-
| `render` | If a value is provided, submitted text will be formatted into a codeblock. When this key is provided, the text area will not expand for file attachments or Markdown editing. | {% octicon "x" aria-label="Optional" %} | String | {% octicon "dash" aria-label="Not applicable" %} | Languages known to {% data variables.product.prodname_dotcom %}. For more information, see [the languages YAML file](https://github.com/github-linguist/linguist/blob/master/lib/linguist/languages.yml). |
121+
| `render` | If a value is provided, submitted text will be formatted into a codeblock. When this key is provided, the text area will not expand for file attachments or Markdown editing. | {% octicon "x" aria-label="Optional" %} | String | {% octicon "dash" aria-label="Not applicable" %} | Languages known to {% data variables.product.prodname_dotcom %}. For more information, see [the languages YAML file](https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml). |
122122

123123
#### Validations for `textarea`
124124

content/get-started/writing-on-github/working-with-advanced-formatting/creating-and-highlighting-code-blocks.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ This will display the code block with syntax highlighting:
6666

6767
![Screenshot of three lines of Ruby code as displayed on {% data variables.product.prodname_dotcom %}. Elements of the code display in purple, blue, and red type for scannability.](/assets/images/help/writing/code-block-syntax-highlighting-rendered.png)
6868

69-
We use [Linguist](https://github.com/github-linguist/linguist) to perform language detection and to select [third-party grammars](https://github.com/github-linguist/linguist/blob/master/vendor/README.md) for syntax highlighting. You can find out which keywords are valid in [the languages YAML file](https://github.com/github-linguist/linguist/blob/master/lib/linguist/languages.yml).
69+
We use [Linguist](https://github.com/github-linguist/linguist) to perform language detection and to select [third-party grammars](https://github.com/github-linguist/linguist/blob/main/vendor/README.md) for syntax highlighting. You can find out which keywords are valid in [the languages YAML file](https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml).
7070

7171
## Creating diagrams
7272

content/packages/learn-github-packages/connecting-a-repository-to-a-package.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ When you publish a package that is scoped to a personal account or an organizati
4646
LABEL org.opencontainers.image.source=https://{% ifversion fpt or ghec %}github.com{% else %}{% data reusables.package_registry.container-registry-example-hostname %}{% endif %}/octocat/my-repo
4747
```
4848

49-
For more information, see "[LABEL](https://docs.docker.com/engine/reference/builder/#label)" in the official Docker documentation and "[Pre-defined Annotation Keys](https://github.com/opencontainers/image-spec/blob/master/annotations.md#pre-defined-annotation-keys)" in the `opencontainers/image-spec` repository.
49+
For more information, see "[LABEL](https://docs.docker.com/engine/reference/builder/#label)" in the official Docker documentation and "[Pre-defined Annotation Keys](https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys)" in the `opencontainers/image-spec` repository.
5050

5151
1. Build your container image. This example builds an image from the Dockerfile in the current directory and assigns the image name `hello_docker`.
5252

content/packages/working-with-a-github-packages-registry/working-with-the-container-registry.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ Replace `NAMESPACE` with the name of the personal account or organization to whi
186186

187187
{% data reusables.package_registry.about-annotation-keys %} Values for supported keys will appear on the package page for the image.
188188

189-
For most images, you can use Docker labels to add the annotation keys to an image. For more information, see [LABEL](https://docs.docker.com/engine/reference/builder/#label) in the official Docker documentation and [Pre-Defined Annotation Keys](https://github.com/opencontainers/image-spec/blob/master/annotations.md#pre-defined-annotation-keys) in the `opencontainers/image-spec` repository.
189+
For most images, you can use Docker labels to add the annotation keys to an image. For more information, see [LABEL](https://docs.docker.com/engine/reference/builder/#label) in the official Docker documentation and [Pre-Defined Annotation Keys](https://github.com/opencontainers/image-spec/blob/main/annotations.md#pre-defined-annotation-keys) in the `opencontainers/image-spec` repository.
190190

191191
For multi-arch images, you can add a description to the image by adding the appropriate annotation key to the `annotations` field in the image's manifest. For more information, see "[Adding a description to multi-arch images](#adding-a-description-to-multi-arch-images)."
192192

content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-repository-languages.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ shortTitle: Repository languages
2121
{% data variables.product.product_name %} uses the open source [Linguist library](https://github.com/github-linguist/linguist) to
2222
determine file languages for syntax highlighting and repository statistics. Language statistics will update after you push changes to your default branch.
2323

24-
Some files are hard to identify, and sometimes projects contain more library and vendor files than their primary code. If you're receiving incorrect results, please consult the Linguist [troubleshooting guide](https://github.com/github-linguist/linguist/blob/master/docs/troubleshooting.md) for help. Note that Linguist only works for repositories with fewer than 100,000 files.
24+
Some files are hard to identify, and sometimes projects contain more library and vendor files than their primary code. If you're receiving incorrect results, please consult the Linguist [troubleshooting guide](https://github.com/github-linguist/linguist/blob/main/docs/troubleshooting.md) for help. Note that Linguist only works for repositories with fewer than 100,000 files.
2525

2626
## Markup languages
2727

content/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/licensing-a-repository.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ You're under no obligation to choose a license. However, without a license, the
2424
2525
## Determining the location of your license
2626

27-
Most people place their license text in a file named `LICENSE.txt` (or `LICENSE.md` or `LICENSE.rst`) in the root of the repository; [here's an example from Hubot](https://github.com/github/hubot/blob/master/LICENSE.md).
27+
Most people place their license text in a file named `LICENSE.txt` (or `LICENSE.md` or `LICENSE.rst`) in the root of the repository; [here's an example from Hubot](https://github.com/github/hubot/blob/main/LICENSE.md).
2828

2929
Some projects include information about their license in their README. For example, a project's README may include a note saying "This project is licensed under the terms of the MIT license."
3030

content/repositories/working-with-files/managing-files/customizing-how-changed-files-appear-on-github.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,5 +26,5 @@ Use a _.gitattributes_ file to mark files that match a given "pattern" with the
2626

2727
## Further reading
2828

29-
* "[Generated code](https://github.com/github-linguist/linguist/blob/master/docs/overrides.md#generated-code)" in the Linguist documentation
29+
* "[Generated code](https://github.com/github-linguist/linguist/blob/main/docs/overrides.md#generated-code)" in the Linguist documentation
3030
* "[AUTOTITLE](/repositories/working-with-files/managing-files/creating-new-files)"

content/search-github/github-code-search/understanding-github-code-search-syntax.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ To narrow down to a specific languages, use the `language:` qualifier. For examp
148148
language:ruby OR language:cpp OR language:csharp
149149
```
150150

151-
For a complete list of supported language names, see [languages.yaml](https://github.com/github-linguist/linguist/blob/master/lib/linguist/languages.yml) in [github-linguist/linguist](https://github.com/github-linguist/linguist). If your preferred language is not on the list, you can open a pull request to add it.
151+
For a complete list of supported language names, see [languages.yaml](https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml) in [github-linguist/linguist](https://github.com/github-linguist/linguist). If your preferred language is not on the list, you can open a pull request to add it.
152152

153153
### Path qualifier
154154

content/search-github/searching-on-github/finding-files-on-github.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ By default, file finder results do not include files in the following directorie
5151

5252
You can override these default exclusions using a `.gitattributes` file.
5353

54-
To do this, create or update a file called `.gitattributes` in your repository root, setting the [`linguist-generated`](https://github.com/github-linguist/linguist/blob/master/docs/overrides.md) attribute to `false` for each directory that should be included in file finder results.
54+
To do this, create or update a file called `.gitattributes` in your repository root, setting the [`linguist-generated`](https://github.com/github-linguist/linguist/blob/main/docs/overrides.md) attribute to `false` for each directory that should be included in file finder results.
5555

5656
For example, the following `.gitattributes` file would cause files in the `build/` directory to be available to the file finder:
5757

content/search-github/searching-on-github/searching-code.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ You can use the `path` qualifier to search for source code that appears at a spe
7878

7979
## Search by language
8080

81-
You can search for code based on what language it's written in. The `language` qualifier can be the language name or alias. For a full list of supported languages with their names and aliases, see the [github-linguist/linguist repository](https://github.com/github-linguist/linguist/blob/master/lib/linguist/languages.yml).
81+
You can search for code based on what language it's written in. The `language` qualifier can be the language name or alias. For a full list of supported languages with their names and aliases, see the [github-linguist/linguist repository](https://github.com/github-linguist/linguist/blob/main/lib/linguist/languages.yml).
8282

8383
| Qualifier | Example
8484
| ------------- | -------------

0 commit comments

Comments
 (0)