Skip to content

Commit a92d79a

Browse files
authored
repo sync
2 parents 73f3a97 + b0f9200 commit a92d79a

File tree

3 files changed

+16
-3
lines changed

3 files changed

+16
-3
lines changed

content/discussions/guides/finding-discussions-across-multiple-repositories.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ versions:
1010
### Finding discussions
1111

1212
1. Navigate to {% data variables.product.prodname_dotcom_the_website %}.
13-
1. In the top-right corner of {% data variables.product.prodname_dotcom_the_website %}, click your profile photo, then click **Your enterprises**.
13+
1. In the top-right corner of {% data variables.product.prodname_dotcom_the_website %}, click your profile photo, then click **Your discussions**.
1414
!["Your discussions" in drop-down menu for profile photo on {% data variables.product.product_name %}](/assets/images/help/discussions/your-discussions.png)
1515
1. Toggle between **Created** and **Commented** to see the discussions you've created or participated in.
1616

content/github/creating-cloning-and-archiving-repositories/about-code-owners.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ For code owners to receive review requests, the CODEOWNERS file must be on the b
3939

4040
### CODEOWNERS syntax
4141

42-
A CODEOWNERS file uses a pattern that follows the same rules used in [gitignore](https://git-scm.com/docs/gitignore#_pattern_format) files. The pattern is followed by one or more {% data variables.product.prodname_dotcom %} usernames or team names using the standard `@username` or `@org/team-name` format. You can also refer to a user by an email address that has been added to their {% data variables.product.product_name %} account, for example `[email protected]`.
42+
A CODEOWNERS file uses a pattern that follows most of the same rules used in [gitignore](https://git-scm.com/docs/gitignore#_pattern_format) files, with [some exceptions](#syntax-exceptions). The pattern is followed by one or more {% data variables.product.prodname_dotcom %} usernames or team names using the standard `@username` or `@org/team-name` format. You can also refer to a user by an email address that has been added to their {% data variables.product.product_name %} account, for example `[email protected]`.
4343

44-
If any line in your CODEOWNERS file contains invalid syntax, the file will not be detected and will not be used to request reviews. Invalid syntax includes inline comments and user or team names that do not exist on {% data variables.product.product_name %}.
44+
If any line in your CODEOWNERS file contains invalid syntax, the file will not be detected and will not be used to request reviews.
4545
#### Example of a CODEOWNERS file
4646
```
4747
# This is a comment.
@@ -83,6 +83,13 @@ apps/ @octocat
8383
# subdirectories.
8484
/docs/ @doctocat
8585
```
86+
#### Syntax exceptions
87+
There are some syntax rules for gitignore files that do not work in CODEOWNERS files:
88+
- Escaping a pattern starting with `#` using `\` so it is treated as a pattern and not a comment
89+
- Using `!` to negate a pattern
90+
- Using `[ ]` to define a character range
91+
92+
8693

8794
### Further reading
8895

data/variables/action_code_examples.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,3 +287,9 @@
287287
- monorepo
288288
- copybara
289289
- workflow
290+
- title: Deploy static files to GitHub Pages
291+
description: GitHub Action to publish website to GitHub Pages automatically
292+
languages: 'TypeScript, JavaScript'
293+
href: peaceiris/actions-gh-pages
294+
tags:
295+
- publishing

0 commit comments

Comments
 (0)