Skip to content

Commit 8a8b3db

Browse files
authored
Merge pull request #17018 from github/repo-sync
repo sync
2 parents 3fd1549 + 3640d07 commit 8a8b3db

File tree

15 files changed

+51
-7
lines changed

15 files changed

+51
-7
lines changed
Loading
Loading
Loading

content/code-security/dependabot/dependabot-version-updates/about-dependabot-version-updates.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ You specify how often to check each ecosystem for new versions in the configurat
4949
If you've enabled security updates, you'll sometimes see extra pull requests for security updates. These are triggered by a {% data variables.product.prodname_dependabot %} alert for a dependency on your default branch. {% data variables.product.prodname_dependabot %} automatically raises a pull request to update the vulnerable dependency.
5050

5151
## Supported repositories and ecosystems
52-
<!-- If you make changes to this feature, update /getting-started-with-github/github-language-support to reflect any changes to supported repositories or ecosystems. -->
52+
<!-- If you make changes to this feature, check whether any of the changes affect languages listed in /get-started/learning-about-github/github-language-support. If so, please update the language support article accordingly. -->
5353

5454
You can configure version updates for repositories that contain a dependency manifest or lock file for one of the supported package managers. For some package managers, you can also configure vendoring for dependencies. For more information, see "[Configuration options for the dependabot.yml file](/code-security/supply-chain-security/keeping-your-dependencies-updated-automatically/configuration-options-for-dependency-updates#vendor)."
5555
{% note %}

content/education/manage-coursework-with-github-classroom/teach-with-github-classroom/create-a-group-assignment.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ You can decide how many teams one assignment can have, and how many members each
2222

2323
For a video demonstration of the creation of a group assignment, see "[Basics of setting up {% data variables.product.prodname_classroom %}](/education/manage-coursework-with-github-classroom/basics-of-setting-up-github-classroom)."
2424

25+
{% data reusables.classroom.reuse-assignment-link %}
26+
2527
## Prerequisites
2628

2729
{% data reusables.classroom.assignments-classroom-prerequisite %}

content/education/manage-coursework-with-github-classroom/teach-with-github-classroom/create-an-assignment-from-a-template-repository.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ You can use a template repository on {% data variables.product.product_name %} a
1313

1414
To use the template repository for your assignment, the template repository must be owned by your organization, or the visibility of the template repository must be public.
1515

16+
You can reuse an existing assignment, even if it uses a template repository, in any other classroom that you have admin access to, including classrooms in a different organization. For more information, see "[Reuse an assignment](/education/manage-coursework-with-github-classroom/teach-with-github-classroom/reuse-an-assignment)."
17+
1618
## Further reading
1719

1820
- "[Create an individual assignment](/education/manage-coursework-with-github-classroom/create-an-individual-assignment)"

content/education/manage-coursework-with-github-classroom/teach-with-github-classroom/create-an-individual-assignment.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@ shortTitle: Individual assignment
1919

2020
For a video demonstration of the creation of an individual assignment, see "[Basics of setting up {% data variables.product.prodname_classroom %}](/education/manage-coursework-with-github-classroom/basics-of-setting-up-github-classroom)."
2121

22+
{% data reusables.classroom.reuse-assignment-link %}
23+
2224
## Prerequisites
2325

2426
{% data reusables.classroom.assignments-classroom-prerequisite %}

content/education/manage-coursework-with-github-classroom/teach-with-github-classroom/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ children:
1111
- /use-the-git-and-github-starter-assignment
1212
- /create-an-individual-assignment
1313
- /create-a-group-assignment
14+
- /reuse-an-assignment
1415
- /create-an-assignment-from-a-template-repository
1516
- /leave-feedback-with-pull-requests
1617
- /use-autograding

content/education/manage-coursework-with-github-classroom/teach-with-github-classroom/manage-classrooms.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ After you create a classroom, {% data variables.product.prodname_classroom %} wi
2323

2424
Invite TAs and admins to your classroom by inviting the user accounts on {% data variables.product.product_name %} to your organization as organization owners and sharing the URL for your classroom. Organization owners can administer any classroom for the organization. For more information, see "[Roles in an organization](/organizations/managing-peoples-access-to-your-organization-with-roles/roles-in-an-organization)" and "[Inviting users to join your organization](/organizations/managing-membership-in-your-organization/inviting-users-to-join-your-organization)."
2525

26-
When you're done using a classroom, you can archive the classroom and refer to the classroom, roster, and assignments later, or you can delete the classroom if you no longer need the classroom.
26+
When you're done using a classroom, you can archive the classroom and refer to the classroom, roster, and assignments later, or you can delete the classroom if you no longer need the classroom.
27+
28+
{% data reusables.classroom.reuse-assignment-link %}
2729

2830
## About classroom rosters
2931

@@ -46,7 +48,7 @@ You must authorize the OAuth app for {% data variables.product.prodname_classroo
4648
!["New classroom" button](/assets/images/help/classroom/click-new-classroom-button.png)
4749
{% data reusables.classroom.guide-create-new-classroom %}
4850

49-
After you create a classroom, you can begin creating assignments for students. For more information, see "[Use the Git and {% data variables.product.company_short %} starter assignment](/education/manage-coursework-with-github-classroom/use-the-git-and-github-starter-assignment)," "[Create an individual assignment](/education/manage-coursework-with-github-classroom/create-an-individual-assignment)," or "[Create a group assignment](/education/manage-coursework-with-github-classroom/create-a-group-assignment)."
51+
After you create a classroom, you can begin creating assignments for students. For more information, see "[Use the Git and {% data variables.product.company_short %} starter assignment](/education/manage-coursework-with-github-classroom/use-the-git-and-github-starter-assignment)," "[Create an individual assignment](/education/manage-coursework-with-github-classroom/create-an-individual-assignment)," "[Create a group assignment](/education/manage-coursework-with-github-classroom/create-a-group-assignment)," or "[Reuse an assignment](/education/manage-coursework-with-github-classroom/teach-with-github-classroom/reuse-an-assignment)."
5052

5153
## Creating a roster for your classroom
5254

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
---
2+
title: Reuse an assignment
3+
intro: You can reuse an existing assignment in more than one classroom, including classrooms in a different organization.
4+
versions:
5+
fpt: '*'
6+
permissions: 'Organization owners who are admins for a classroom can reuse assignments from a classroom. {% data reusables.classroom.classroom-admins-link %}'
7+
shortTitle: Reuse an assignment
8+
---
9+
## About reusing assignments
10+
11+
You can reuse an existing individual or group assignment in any other classroom you have access to, including classrooms in a different organization. If you choose to reuse an assignment, {% data variables.product.prodname_classroom %} will copy the assignment to the classroom you choose. If the assignment uses a template repository and you choose to reuse it in a classroom from a different organization, {% data variables.product.prodname_classroom %} will create a copy of the repository and its contents in the target organization.
12+
13+
## Reusing an assignment
14+
15+
1. Sign into {% data variables.product.prodname_classroom_with_url %}.
16+
1. Navigate to the classroom that has the assignment that you want to reuse.
17+
18+
![Classroom in list of classrooms for an organization](/assets/images/help/classroom/click-classroom-in-list.png)
19+
20+
1. In the list of assignments, click the assignment you want to reuse.
21+
22+
![Assignment in list of assignments for an classroom](/assets/images/help/classroom/click-assignment-in-list.png)
23+
24+
1. Select the **{% octicon "pencil" aria-label="The pencil icon" %} Edit** dropdown menu in the top right of the page, then click **{% octicon "sync" aria-label="The sync icon" %} Reuse assignment**.
25+
26+
![Reuse assignment button](/assets/images/help/classroom/reuse-assignment-button.png)
27+
28+
1. In "Reuse assignment" modal, use the **Choose an organization** dropdown menu to select the organization you want the assignment to be in. Then use the **Choose a classroom** dropdown menu to select the classroom within that organization that you want to copy the assignment to.
29+
30+
![Reuse assignment modal](/assets/images/help/classroom/reuse-assignment-modal.png)
31+
32+
1. Click **Create assignment**.
33+
1. The assignment is copied to the selected classroom, and a confirmation message is shown. If you chose to reuse an assignment with a template repository, the copying process may take a few minutes to complete, and you may need to refresh the page to see the completed message.
34+
35+
![Completed message for reused assignment](/assets/images/help/classroom/reuse-assignment-completed-message.png)

content/education/manage-coursework-with-github-classroom/teach-with-github-classroom/use-the-git-and-github-starter-assignment.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ The Git & {% data variables.product.company_short %} starter assignment is only
9696

9797
## Next steps
9898

99-
- Make additional assignments customized to your course. For more information, see "[Create an individual assignment](/education/manage-coursework-with-github-classroom/create-an-individual-assignment)" and "[Create a group assignment](/education/manage-coursework-with-github-classroom/create-a-group-assignment)."
99+
- Make additional assignments customized to your course. For more information, see "[Create an individual assignment](/education/manage-coursework-with-github-classroom/create-an-individual-assignment)," "[Create a group assignment](/education/manage-coursework-with-github-classroom/create-a-group-assignment)," and "[Reuse an assignment](/education/manage-coursework-with-github-classroom/teach-with-github-classroom/reuse-an-assignment)."
100100

101101
## Further reading
102102

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Look! You can see my backticks.
5050

5151
## Syntax highlighting
5252

53-
<!-- If you make changes to this feature, update /getting-started-with-github/github-language-support to reflect any changes to supported languages. -->
53+
<!-- If you make changes to this feature, check whether any of the changes affect languages listed in /get-started/learning-about-github/github-language-support. If so, please update the language support article accordingly. -->
5454

5555
You can add an optional language identifier to enable syntax highlighting in your fenced code block.
5656

content/packages/learn-github-packages/introduction-to-github-packages.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ For more information, see "[About permissions for {% data variables.product.prod
5858
{% endif %}
5959

6060
## Supported clients and formats
61-
<!-- If you make changes to this feature, update /getting-started-with-github/github-language-support to reflect any changes to supported clients or formats. -->
61+
<!-- If you make changes to this feature, check whether any of the changes affect languages listed in /get-started/learning-about-github/github-language-support. If so, please update the language support article accordingly. -->
6262

6363
{% data variables.product.prodname_registry %} uses the native package tooling commands you're already familiar with to publish and install package versions.
6464
### Support for package registries

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,6 @@ You can use the `path` qualifier to search for source code that appears at a spe
6969
| <code>path:<em>PATH/TO/DIRECTORY</em></code> | [**`console path:app/public language:javascript`**](https://github.com/search?q=console+path%3A%22app%2Fpublic%22+language%3Ajavascript&type=Code) matches JavaScript files with the word "console" in the <em>app/public</em> directory, or in any of its subdirectories (even if they reside in <em>app/public/js/form-validators</em>).
7070

7171
## Search by language
72-
<!-- If you make changes to this feature, update /getting-started-with-github/github-language-support to reflect any changes. -->
7372

7473
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 repository](https://github.com/github/linguist/blob/master/lib/linguist/languages.yml).
7574

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
You can reuse an existing assignment in any other classroom you have admin access to, including classrooms in a different organization. For more information, see "[Reuse an assignment](/education/manage-coursework-with-github-classroom/teach-with-github-classroom/reuse-an-assignment)."

0 commit comments

Comments
 (0)