Skip to content

Commit de546db

Browse files
authored
Merge branch 'main' into classroom-starter-code-bugfix
2 parents dace4f3 + 04450ec commit de546db

1,162 files changed

Lines changed: 3017 additions & 147 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
---
2+
name: Target Date Update
3+
about: Target date update
4+
body:
5+
- type: input
6+
attributes:
7+
name: Target completion date
8+
placeholder: With context if the target completion date has changed
9+
inputType: text
10+
- type: input
11+
attributes:
12+
name: 'Attribution'
13+
value: '_created with :heart: by typing_ `/status`'
14+
inputType: text

.github/workflows/close-external-repo-sync-prs.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ on:
1111
jobs:
1212
invalid-repo-sync-check:
1313
name: Close external Repo Sync PRs
14-
if: ${{ github.repository == 'github/docs' && github.ref == 'refs/heads/repo-sync' }}
14+
if: ${{ github.repository == 'github/docs' && github.head_ref == 'repo-sync' }}
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
name: Ready for docs-content review
2+
3+
# **What it does**: Adds pull requests in the docs-internal repository to the docs-content first responder project board
4+
# **Why we have it**: So that other GitHub teams can easily request reviews from the docs-content team, and so that writers can see when a PR is ready for review
5+
# **Who does it impact**: Writers working in the docs-internal repository
6+
7+
on:
8+
pull_request:
9+
types: [labeled]
10+
11+
jobs:
12+
request_doc_review:
13+
name: Request a review from the docs-content team
14+
if: github.event.label.name == 'ready-for-doc-review' && github.repository == 'github/docs-internal'
15+
runs-on: ubuntu-latest
16+
steps:
17+
- name: Add pull request to FR project board
18+
uses: rachmari/actions-add-new-issue-to-column@1a459ef92308ba7c9c9dc2fcdd72f232495574a9
19+
with:
20+
action-token: ${{ secrets.DOCUBOT_FR_PROJECT_BOARD_WORKFLOWS_REPO_ORG_READ_SCOPES }}
21+
project-url: 'https://github.com/orgs/github/projects/1367'
22+
column-name: 'Docs-internal external contributor PRs'

.github/workflows/send-eng-issues-to-backlog.yml

Lines changed: 0 additions & 30 deletions
This file was deleted.
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
name: Send Issue to How We Work Boards
2+
3+
on:
4+
issues:
5+
types:
6+
- labeled
7+
- reopened
8+
9+
jobs:
10+
triage:
11+
runs-on: ubuntu-latest
12+
continue-on-error: true
13+
steps:
14+
- if: contains(github.event.issue.labels.*.name, 'engineering') && !contains(github.event.issue.labels.*.name, 'feature') && !contains(github.event.issue.labels.*.name, 'epic')
15+
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
16+
with:
17+
github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
18+
script: |
19+
var column_id = 9659080;
20+
try {
21+
github.projects.createCard({
22+
column_id: column_id,
23+
content_id: context.payload.issue.id,
24+
content_type: "Issue"
25+
});
26+
} catch (error) {
27+
console.log(error);
28+
}
29+
- if: contains(github.event.issue.labels.*.name, 'engineering') && contains(github.event.issue.labels.*.name, 'feature')
30+
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
31+
with:
32+
github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
33+
script: |
34+
var column_id = 13445681;
35+
try {
36+
github.projects.createCard({
37+
column_id: column_id,
38+
content_id: context.payload.issue.id,
39+
content_type: "Issue"
40+
});
41+
} catch (error) {
42+
console.log(error);
43+
}
44+
- if: contains(github.event.issue.labels.*.name, 'engineering') && contains(github.event.issue.labels.*.name, 'epic')
45+
uses: actions/github-script@626af12fe9a53dc2972b48385e7fe7dec79145c9
46+
with:
47+
github-token: ${{ secrets.DOCUBOT_READORG_REPO_WORKFLOW_SCOPES }}
48+
script: |
49+
var column_id = 13445932;
50+
try {
51+
github.projects.createCard({
52+
column_id: column_id,
53+
content_id: context.payload.issue.id,
54+
content_type: "Issue"
55+
});
56+
} catch (error) {
57+
console.log(error);
58+
}

content/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -228,9 +228,9 @@ includeGuides:
228228
- Optional.
229229

230230
### `topics`
231-
- Purpose: Indicate the topics covered by the article.
232-
- Type: `String`
233-
- Optional.
231+
- Purpose: Indicate the topics covered by the article. The topics are used to filter guides on some landing pages. For example, the guides at the bottom of [this page](https://docs.github.com/en/actions/guides) can be filtered by topics and the topics are listed under the guide intro. Topics are also added to all search records that get created for each page. The search records contain a `topics` property that is used to filter search results by topics. For more information, see the [Search](/contributing/search.md) contributing guide. Refer to the content models for more details around adding topics. A full list of existing topics is located in the [allowed topics file](/data/allowed-topics.js). If topics in article frontmatter and the allow-topics list become out of sync, the [topics CI test](/tests/unit/search/topics.js) will fail.
232+
- Type: Array of `String`s
233+
- Optional: Topics are preferred for each article, but, there may be cases where existing articles don't yet have topics or a adding a topic to a new article may not add value.
234234

235235
### `contributor`
236236
- Purpose: Indicate an article is contributed and maintained by a third-party organization, typically a GitHub Technology Partner.

content/actions/reference/authentication-in-a-workflow.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ This example workflow uses the [labeler action](https://github.com/actions/label
4040
```yaml
4141
name: Pull request labeler
4242
on:
43-
- pull_request
43+
- pull_request_target
4444
jobs:
4545
triage:
4646
runs-on: ubuntu-latest

content/actions/reference/usage-limits-billing-and-administration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ versions:
88
free-pro-team: '*'
99
enterprise-server: '>=2.22'
1010
github-ae: '*'
11+
topics:
12+
- billing
1113
---
1214

1315
{% data reusables.actions.enterprise-beta %}

content/admin/authentication/allowing-built-in-authentication-for-users-outside-your-identity-provider.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ redirect_from:
66
- /enterprise/admin/authentication/allowing-built-in-authentication-for-users-outside-your-identity-provider
77
versions:
88
enterprise-server: '*'
9+
topics:
10+
- enterprise
911
---
1012

1113
### About built-in authentication for users outside your identity provider

content/admin/authentication/authenticating-users-for-your-github-enterprise-server-instance.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ redirect_from:
1111
mapTopic: true
1212
versions:
1313
enterprise-server: '*'
14+
topics:
15+
- enterprise
1416
---
1517

0 commit comments

Comments
 (0)