diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index edbeb50b42..5bf39beeee 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -20,7 +20,7 @@ package.json @github/docs-engineering /.github/workflows/crowdin.yml @github/docs-localization /crowdin*.yml @github/docs-engineering @github/docs-localization /translations/ @github/docs-engineering @github/docs-localization @github-actions -/translations/log/ @github/docs-localization +/translations/log/ @github/docs-localization @github-actions # Site Policy /content/github/site-policy/ @github/site-policy-admins diff --git a/.github/workflows/create-translation-batch-pr.yml b/.github/workflows/create-translation-batch-pr.yml index 34e3905a4f..c7e929d9af 100644 --- a/.github/workflows/create-translation-batch-pr.yml +++ b/.github/workflows/create-translation-batch-pr.yml @@ -172,6 +172,18 @@ jobs: --body-file /tmp/pr-body.txt || git push origin :${{ steps.set-branch.outputs.BRANCH_NAME }} \ --label "translation-batch" + - name: Approve PR + if: github.ref_name == 'main' + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: gh pr review --approve || echo "Nothing to approve" + + - name: Set auto-merge + if: github.ref_name == 'main' + env: + GITHUB_TOKEN: ${{ secrets.DOCUBOT_REPO_PAT }} + run: gh pr merge ${{ steps.set-branch.outputs.BRANCH_NAME }} --auto --squash || echo "Nothing to merge" + # When the maximum execution time is reached for this job, Actions cancels the workflow run. # This emits a notification for the first responder to triage. - name: Send Slack notification if workflow is cancelled diff --git a/assets/images/help/stars/add-repo-to-list.png b/assets/images/help/stars/add-repo-to-list.png new file mode 100644 index 0000000000..27bf32aafc Binary files /dev/null and b/assets/images/help/stars/add-repo-to-list.png differ diff --git a/assets/images/help/stars/create-list-with-description.png b/assets/images/help/stars/create-list-with-description.png new file mode 100644 index 0000000000..0fd748df7c Binary files /dev/null and b/assets/images/help/stars/create-list-with-description.png differ diff --git a/assets/images/help/stars/create-list.png b/assets/images/help/stars/create-list.png new file mode 100644 index 0000000000..f84b54bcd7 Binary files /dev/null and b/assets/images/help/stars/create-list.png differ diff --git a/assets/images/help/stars/edit-list-options.png b/assets/images/help/stars/edit-list-options.png new file mode 100644 index 0000000000..a6a1160f7e Binary files /dev/null and b/assets/images/help/stars/edit-list-options.png differ diff --git a/assets/images/help/stars/lists-overview-on-stars-page.png b/assets/images/help/stars/lists-overview-on-stars-page.png new file mode 100644 index 0000000000..a82208a9f0 Binary files /dev/null and b/assets/images/help/stars/lists-overview-on-stars-page.png differ diff --git a/assets/images/help/stars/navigate-to-stars-page.png b/assets/images/help/stars/navigate-to-stars-page.png new file mode 100644 index 0000000000..ee88825fc0 Binary files /dev/null and b/assets/images/help/stars/navigate-to-stars-page.png differ diff --git a/assets/images/help/stars/search-bar-for-starred-repos.png b/assets/images/help/stars/search-bar-for-starred-repos.png new file mode 100644 index 0000000000..23510aa8ef Binary files /dev/null and b/assets/images/help/stars/search-bar-for-starred-repos.png differ diff --git a/assets/images/help/stars/stars-dropdown-on-repo.png b/assets/images/help/stars/stars-dropdown-on-repo.png new file mode 100644 index 0000000000..dbae72e573 Binary files /dev/null and b/assets/images/help/stars/stars-dropdown-on-repo.png differ diff --git a/content/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/about-your-profile.md b/content/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/about-your-profile.md index c3c7d3b294..e711f972ef 100644 --- a/content/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/about-your-profile.md +++ b/content/account-and-profile/setting-up-and-managing-your-github-profile/customizing-your-profile/about-your-profile.md @@ -30,7 +30,7 @@ People who visit your profile see a timeline of your contribution activity, like People who visit your profile can also see the following information. - Repositories and gists you own or contribute to. {% ifversion fpt or ghes or ghec %}You can showcase your best work by pinning repositories and gists to your profile. For more information, see "[Pinning items to your profile](/github/setting-up-and-managing-your-github-profile/pinning-items-to-your-profile)."{% endif %} -- Repositories you've starred. For more information, see "[Saving repositories with stars](/articles/saving-repositories-with-stars/)." +- Repositories you've starred{% ifversion fpt or ghec %} and organized into lists.{% endif %} For more information, see "[Saving repositories with stars](/articles/saving-repositories-with-stars/)." - An overview of your activity in organizations, repositories, and teams you're most active in. For more information, see "[Showing an overview of your activity on your profile](/articles/showing-an-overview-of-your-activity-on-your-profile)."{% ifversion fpt or ghec %} - Badges that show if you use {% data variables.product.prodname_pro %} or participate in programs like the {% data variables.product.prodname_arctic_vault %}, {% data variables.product.prodname_sponsors %}, or the {% data variables.product.company_short %} Developer Program. For more information, see "[Personalizing your profile](/github/setting-up-and-managing-your-github-profile/personalizing-your-profile#displaying-badges-on-your-profile)."{% endif %} diff --git a/content/get-started/exploring-projects-on-github/saving-repositories-with-stars.md b/content/get-started/exploring-projects-on-github/saving-repositories-with-stars.md index a3c20de937..c61495fa8f 100644 --- a/content/get-started/exploring-projects-on-github/saving-repositories-with-stars.md +++ b/content/get-started/exploring-projects-on-github/saving-repositories-with-stars.md @@ -40,9 +40,71 @@ Starring a repository is a simple two-step process. 1. Optionally, to unstar a previously starred repository, click **Unstar**. ![Untarring a repository](/assets/images/help/stars/unstarring-a-repository.png) -## Searching stars +{% ifversion fpt or ghec %} +## Organizing starred repositories with lists -You can use the search bar on your {% data variables.explore.your_stars_page %} to quickly find repositories and topics you've starred. +{% note %} + +**Note:** Lists are currently in public beta and subject to change. + +{% endnote %} + +Curate repositories that you've starred with public lists. You can create public lists that appear on your stars page at `https://github.com/USERNAME?tab=stars`. + +If you add a private repository to a list, then the private repository will only appear in your list for people with `read` access to the repository. + +![Screenshot of lists on stars page](/assets/images/help/stars/lists-overview-on-stars-page.png) + +You can add a repository to an existing or new list wherever you see a repository's **Star** or **Starred** dropdown menu, whether on a repository page or in a list of starred repositories. + +![Screenshot of "Star" dropdown menu with list options featured from the repository page](/assets/images/help/stars/stars-dropdown-on-repo.png) + +![Screenshot of "Starred" dropdown menu with list options featured from a starred repository list](/assets/images/help/stars/add-repo-to-list.png) + +### Creating a list + +{% data reusables.stars.stars-page-navigation %} +2. Next to "Lists", click **Create list**. + ![Screenshot of "Create list" button](/assets/images/help/stars/create-list.png) +3. Enter a name and description for your list and click **Create**. + ![Screenshot of modal showing where you enter a name and description with the "Create" button.](/assets/images/help/stars/create-list-with-description.png) + +### Adding a repository to a list + +{% data reusables.stars.stars-page-navigation %} +2. Find the repository you want to add to your list. + ![Screenshot of starred repos search bar](/assets/images/help/stars/search-bar-for-starred-repos.png) +3. Next to the repository you want to add, use the **Starred** dropdown menu and select your list. + ![Screenshot of dropdown showing a list checkboxes](/assets/images/help/stars/add-repo-to-list.png) + +### Removing a repository from your list + +{% data reusables.stars.stars-page-navigation %} +2. Select your list. +3. Next to the repository you want to remove, use the **Starred** dropdown menu and deselect your list. + ![Screenshot of dropdown showing list checkboxes](/assets/images/help/stars/add-repo-to-list.png) + +### Editing a list name or description + +{% data reusables.stars.stars-page-navigation %} +1. Select the list you want to edit. +2. Click **Edit list**. +3. Update the name or description and click **Save list**. + ![Screenshot of modal showing "Save list" button](/assets/images/help/stars/edit-list-options.png) + +### Deleting a list + +{% data reusables.stars.stars-page-navigation %} +2. Select the list you want to delete. +3. Click **Delete list**. + ![Screenshot of modal showing "Delete list" button](/assets/images/help/stars/edit-list-options.png) +4. To confirm, click **Delete**. + +{% endif %} + +## Searching starred repositories and topics + +You can use the search bar on your {% data variables.explore.your_stars_page %} to quickly find repositories and topics you've starred. 1. Go to your {% data variables.explore.your_stars_page %}. 1. Use the search bar to find your starred repositories or topics by their name. @@ -50,7 +112,7 @@ You can use the search bar on your {% data variables.explore.your_stars_page %} The search bar only searches based on the name of a repository or topic, and not on any other qualifiers (such as the size of the repository or when it was last updated). -## Sorting and filtering stars +## Sorting and filtering stars on your stars page You can use sorting or filtering to customize how you see starred repositories and topics on your stars page. diff --git a/data/reusables/stars/stars-page-navigation.md b/data/reusables/stars/stars-page-navigation.md new file mode 100644 index 0000000000..e16520a2a7 --- /dev/null +++ b/data/reusables/stars/stars-page-navigation.md @@ -0,0 +1,2 @@ +1. In the upper-right corner of any page, click your profile photo, then click ** Your stars**. + ![Screenshot of stars option in a dropdown menu](/assets/images/help/stars/navigate-to-stars-page.png) \ No newline at end of file