Skip to content

Commit 80dc0d8

Browse files
authored
Merge branch 'main' into patch-2
2 parents 93c6674 + a8b0fba commit 80dc0d8

File tree

112 files changed

+1194
-448
lines changed

Some content is hidden

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

112 files changed

+1194
-448
lines changed

.eslintrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ module.exports = {
1313
babelOptions: { configFile: './.babelrc' },
1414
sourceType: 'module',
1515
},
16+
ignorePatterns: ['tmp/*'],
1617
rules: {
1718
'import/no-extraneous-dependencies': ['error', { packageDir: '.' }],
1819
},

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Closes [issue link]
2525
### Check off the following:
2626

2727
- [ ] I have reviewed my changes in staging (look for "Automatically generated comment" and click **Modified** to view your latest changes).
28-
- [ ] For content changes, I have completed the [self-review checklist](https://github.com/github/docs/blob/main/CONTRIBUTING.md#self-review).
28+
- [ ] For content changes, I have completed the [self-review checklist](https://github.com/github/docs/blob/main/contributing/self-review.md#self-review).
2929

3030
### Writer impact (This section is for GitHub staff members only):
3131

.github/workflows/test-windows.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,17 @@ jobs:
2323
strategy:
2424
fail-fast: false
2525
matrix:
26-
test-group: [content, graphql, meta, rendering, routing, unit, linting]
26+
test-group:
27+
[
28+
content,
29+
graphql,
30+
meta,
31+
rendering,
32+
routing,
33+
unit,
34+
linting,
35+
translations,
36+
]
2737
steps:
2838
- name: Check out repo
2939
uses: actions/checkout@1e204e9a9253d643386038d443f96446fa156a97

.github/workflows/test.yml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,17 @@ jobs:
2626
fail-fast: false
2727
matrix:
2828
# The same array lives in test-windows.yml, so make any updates there too.
29-
test-group: [content, graphql, meta, rendering, routing, unit, linting]
29+
test-group:
30+
[
31+
content,
32+
graphql,
33+
meta,
34+
rendering,
35+
routing,
36+
unit,
37+
linting,
38+
translations,
39+
]
3040
steps:
3141
# Each of these ifs needs to be repeated at each step to make sure the required check still runs
3242
# Even if if doesn't do anything

README.md

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,21 +8,21 @@ Use the table of contents icon <img src="./assets/images/table-of-contents.png"
88

99
## Contributing
1010

11-
See [the contributing guide](CONTRIBUTING.md) for detailed instructions of how to get started with our project.
11+
See [the contributing guide](CONTRIBUTING.md) for detailed instructions on how to get started with our project.
1212

13-
We accept different [types of contributions](CONTRIBUTING.md/#types-of-contributions-memo), including some that don't require you to write a single line of code.
13+
We accept different [types of contributions](https://github.com/github/docs/blob/main/contributing/types-of-contributions.md), including some that don't require you to write a single line of code.
1414

15-
On the GitHub Docs site, you can click the make a contribution button to open a PR for quick fixes like typos, updates, or link fixes.
15+
On the GitHub Docs site, you can click the make a contribution button to open a PR(Pull Request) for quick fixes like typos, updates, or link fixes.
1616

1717
<img src="./assets/images/contribution_cta.png" width="400">
1818

19-
For more complex contributions, you can open an issue using the most appropriate [issue template](https://github.com/github/docs/issues/new/choose) to describe the changes you'd like to see.
19+
For more complex contributions, you can open an issue using the most appropriate [issue template](https://github.com/github/docs/issues/new/choose) to describe the changes you'd like to see. By this way you can also be a part of Open source contributor's community without even writing a single line of code.
2020

2121
If you're looking for a way to contribute, you can scan through our [existing issues](https://github.com/github/docs/issues) for something to work on. When ready, check out [Getting Started with Contributing](/CONTRIBUTING.md) for detailed instructions.
2222

2323
### Join us in discussions
2424

25-
We use GitHub Discussions to talk about all sorts of topics related to documentation and this site. For example: if you'd like help troubleshooting a PR, have a great new idea, or want to share something amazing you've learned in our docs, join us in [discussions](https://github.com/github/docs/discussions).
25+
We use GitHub Discussions to talk about all sorts of topics related to documentation and this site. For example: if you'd like help troubleshooting a PR, have a great new idea, or want to share something amazing you've learned in our docs, join us in the [discussions](https://github.com/github/docs/discussions).
2626

2727
### And that's it!
2828

@@ -33,6 +33,7 @@ That's how you can easily become a member of the GitHub Documentation community.
3333
## READMEs
3434

3535
In addition to the README you're reading right now, this repo includes other READMEs that describe the purpose of each subdirectory in more detail:
36+
YOu can go through among them for specified details regarding the topics listed below.
3637

3738
- [content/README.md](content/README.md)
3839
- [content/graphql/README.md](content/graphql/README.md)
@@ -54,9 +55,9 @@ In addition to the README you're reading right now, this repo includes other REA
5455

5556
The GitHub product documentation in the assets, content, and data folders are licensed under a [CC-BY license](LICENSE).
5657

57-
All other code in this repository is licensed under a [MIT license](LICENSE-CODE).
58+
All other code in this repository is licensed under the [MIT license](LICENSE-CODE).
5859

59-
When using the GitHub logos, be sure to follow the [GitHub logo guidelines](https://github.com/logos).
60+
When you are using the GitHub logos, be sure to follow the [GitHub logo guidelines](https://github.com/logos).
6061

6162
## Thanks :purple_heart:
6263

3.53 KB
Loading

components/release-notes/PatchNotes.tsx

Lines changed: 35 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,26 @@ const SectionToLabelMap: Record<string, string> = {
1616
backups: 'Backups',
1717
}
1818

19+
const LabelColorMap = {
20+
features: 'color-bg-success-emphasis',
21+
bugs: 'color-bg-attention-emphasis',
22+
known_issues: 'color-bg-accent-emphasis',
23+
security_fixes: 'color-bg-sponsors-emphasis',
24+
changes: 'color-bg-success-emphasis',
25+
deprecations: 'color-bg-done-emphasis',
26+
backups: 'color-bg-severe-emphasis',
27+
}
28+
29+
const HeadingColorMap = {
30+
features: 'color-fg-success',
31+
bugs: 'color-fg-attention',
32+
known_issues: 'color-fg-accent',
33+
security_fixes: 'color-fg-sponsors',
34+
changes: 'color-fg-success',
35+
deprecations: 'color-fg-done',
36+
backups: 'color-fg-severe',
37+
}
38+
1939
type Props = {
2040
patch: ReleaseNotePatch
2141
withReleaseNoteLabel?: boolean
@@ -25,6 +45,10 @@ export function PatchNotes({ patch, withReleaseNoteLabel }: Props) {
2545
<>
2646
{Object.entries(patch.sections).map(([key, sectionItems], i, arr) => {
2747
const isLast = i === arr.length - 1
48+
const primaryLabelColor =
49+
LabelColorMap[key as keyof typeof LabelColorMap] || LabelColorMap.features
50+
const primaryHeadingColor =
51+
HeadingColorMap[key as keyof typeof HeadingColorMap] || HeadingColorMap.features
2852
return (
2953
<div
3054
key={key}
@@ -36,7 +60,12 @@ export function PatchNotes({ patch, withReleaseNoteLabel }: Props) {
3660
>
3761
{withReleaseNoteLabel && (
3862
<div className="col-12 col-xl-3 mb-5">
39-
<span className="px-3 py-2 text-small text-bold text-uppercase color-bg-emphasis color-fg-on-emphasis">
63+
<span
64+
className={cx(
65+
'px-3 py-2 color-fg-on-emphasis text-small text-bold text-uppercase',
66+
primaryLabelColor
67+
)}
68+
>
4069
{SectionToLabelMap[key] || 'INVALID SECTION'}
4170
</span>
4271
</div>
@@ -52,7 +81,11 @@ export function PatchNotes({ patch, withReleaseNoteLabel }: Props) {
5281
<Fragment key={slug}>
5382
<h4
5483
id={slug}
55-
className={cx(styles.sectionHeading, 'text-uppercase text-bold f4')}
84+
className={cx(
85+
styles.sectionHeading,
86+
primaryHeadingColor,
87+
'text-uppercase text-bold f4'
88+
)}
5689
>
5790
<Link href={`#${slug}`} className="color-fg-inherit">
5891
{item.heading}

content/account-and-profile/setting-up-and-managing-your-github-user-account/managing-user-account-settings/merging-multiple-user-accounts.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ shortTitle: Merge multiple user accounts
2323
1. [Transfer any repositories](/articles/how-to-transfer-a-repository) from the account you want to delete to the account you want to keep. Issues, pull requests, and wikis are transferred as well. Verify the repositories exist on the account you want to keep.
2424
2. [Update the remote URLs](/github/getting-started-with-github/managing-remote-repositories) in any local clones of the repositories that were moved.
2525
3. [Delete the account](/articles/deleting-your-user-account) you no longer want to use.
26+
4. To attribute past commits to the new account, add the email address you used to author the commits to the account you're keeping. For more information, see "[Why are my contributions not showing up on my profile?](/account-and-profile/setting-up-and-managing-your-github-profile/managing-contribution-graphs-on-your-profile/why-are-my-contributions-not-showing-up-on-my-profile#your-local-git-commit-email-isnt-connected-to-your-account)"
2627

2728
## Further reading
2829

content/actions/creating-actions/creating-a-docker-container-action.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ Before you begin, you'll need to create a {% data variables.product.prodname_dot
5757

5858
## Creating a Dockerfile
5959

60-
In your new `hello-world-docker-action` directory, create a new `Dockerfile` file. For more information, see "[Dockerfile support for {% data variables.product.prodname_actions %}](/actions/creating-actions/dockerfile-support-for-github-actions)."
60+
In your new `hello-world-docker-action` directory, create a new `Dockerfile` file. Make sure that your filename is capitalized correctly (use a capital `D` but not a capital `f`) if you're having issues. For more information, see "[Dockerfile support for {% data variables.product.prodname_actions %}](/actions/creating-actions/dockerfile-support-for-github-actions)."
6161

6262
**Dockerfile**
6363
```Dockerfile{:copy}

content/actions/deployment/security-hardening-your-deployments/configuring-openid-connect-in-amazon-web-services.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ By default, the validation only includes the audience (`aud`) condition, so you
4444
"Condition": {
4545
"StringEquals": {
4646
"token.actions.githubusercontent.com:aud": "https://github.com/octo-org",
47-
"token.actions.githubusercontent.com:sub": "token.actions.githubusercontent.com:sub": "repo:octo-org/octo-repo:ref:refs/heads/octo-branch"
47+
"token.actions.githubusercontent.com:sub": "repo:octo-org/octo-repo:ref:refs/heads/octo-branch"
4848
```
4949

5050
## Updating your {% data variables.product.prodname_actions %} workflow

0 commit comments

Comments
 (0)