diff --git a/.github/workflows/create-changelog-pr.yml b/.github/workflows/create-changelog-pr.yml index 26ccaf0239a9..0ec06dc3f802 100644 --- a/.github/workflows/create-changelog-pr.yml +++ b/.github/workflows/create-changelog-pr.yml @@ -15,6 +15,7 @@ permissions: env: CHANGELOG_FILE: CHANGELOG.md + CHANGELOG_FILE_URL: https://github.com/github/docs-internal/blob/main/CHANGELOG.md jobs: docs-changelog-pr: @@ -113,7 +114,7 @@ jobs: owner: context.repo.owner, repo: context.repo.repo, title: `Update docs changelog (for PR #${context.payload.issue.number})`, - body: `### Automated docs changelog update\n\n**Purpose:** Update the ${{ env.CHANGELOG_FILE }} file with details of a recent docs change.\n\nThis PR is an automated update, generated by the create-changelog-pr.yml Actions workflow as a result of a "Changelog summary" comment being added to [PR #${context.payload.issue.number}](${context.payload.issue.html_url}).\n\n**Note for reviewer**: This change to the ${{ env.CHANGELOG_FILE }} file will be synced to the public docs site, so make sure that the content of the entry is appropriate for public consumption. If the content is wholly inappropriate for public consumption, then this PR can be closed.\n\n
Original PR comment posted by @${context.payload.comment.user.login}, using the /changelog slash command:\n\n${context.payload.comment.body}
`, + body: `### Automated docs changelog update\n\n**Purpose:** Update the [${{ env.CHANGELOG_FILE }}](${{ env.CHANGELOG_FILE_URL }}) file with details of a recent docs change.\n\nThis PR is an automated update, generated by the create-changelog-pr.yml Actions workflow as a result of a "Changelog summary" comment being added to [PR #${context.payload.issue.number}](${context.payload.issue.html_url}).\n\n**Notes for reviewer**:\n- This change to the [${{ env.CHANGELOG_FILE }}](${{ env.CHANGELOG_FILE_URL }}) file will be synced to the public docs site, so make sure that the content of the entry is appropriate for public consumption. If the content is wholly inappropriate for public consumption, then this PR can be closed.\n- Make sure the format of this changelog entry is consistent with the other entries in the file.\n\n
Original PR comment posted by @${context.payload.comment.user.login}, using the /changelog slash command:\n\n${context.payload.comment.body}
`, head: process.env.BRANCH, base: 'main' }); @@ -137,6 +138,27 @@ jobs: labels: ['ready-for-doc-review'] }); + - name: Assign PR to commenter + if: env.CONTINUE_WORKFLOW == 'true' + uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea + env: + # Reuse the PR number captured earlier + PULL_REQUEST_NUMBER: ${{ steps.create_pull_request.outputs.pull-request-number }} + with: + github-token: ${{ secrets.DOCS_BOT_PAT_BASE }} + script: | + try { + const username = context.payload.comment.user.login; + await github.rest.issues.addAssignees({ + owner: context.repo.owner, + repo: context.repo.repo, + issue_number: Number(process.env.PULL_REQUEST_NUMBER), + assignees: [username] + }); + } catch (err) { + core.info(`Failed to assign PR to @${context.payload.comment.user.login}: ${err.message}`); + } + - uses: ./.github/actions/slack-alert if: ${{ failure() && github.event_name != 'workflow_dispatch' }} with: diff --git a/CHANGELOG.md b/CHANGELOG.md index ef81ceb50798..705fdc11875c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ We’ve updated the documentation for Copilot repository custom instructions to See: [Adding repository custom instructions for GitHub Copilot](https://docs.github.com/en/copilot/how-tos/configure-custom-instructions/add-repository-instructions?tool=eclipse) and [About customizing GitHub Copilot Chat responses](https://docs.github.com/en/copilot/concepts/response-customization?tool=eclipse). +
+ +**12 August 2025** + We have added a tutorial for using Copilot to create Mermaid diagrams at [Creating Diagrams](https://docs.github.com/en/copilot/tutorials/copilot-chat-cookbook/communicate-effectively/creating-diagrams).
diff --git a/content/actions/how-tos/manage-runners/self-hosted-runners/configure-the-application.md b/content/actions/how-tos/manage-runners/self-hosted-runners/configure-the-application.md index 574ad030bca3..6acc98bd57f1 100644 --- a/content/actions/how-tos/manage-runners/self-hosted-runners/configure-the-application.md +++ b/content/actions/how-tos/manage-runners/self-hosted-runners/configure-the-application.md @@ -101,6 +101,13 @@ Start the service with the following command: sudo ./svc.sh start ``` +> [!NOTE] +> On Debian-based Linux systems (such as Debian or Ubuntu) with `needrestart` enabled, you can prevent `needrestart` from restarting the runner service during a workflow job by configuring it to ignore the runner service. Run the following command: +> +> ```bash +> echo '$nrconf{override_rc}{qr(^actions\.runner\..+\.service$)} = 0;' | sudo tee /etc/needrestart/conf.d/actions_runner_services.conf +> ``` + {% endlinux %} {% windows %}