Skip to content

Commit 87542e8

Browse files
authored
Merge pull request #41148 from github/repo-sync
Repo sync
2 parents 1f16ccc + 899413f commit 87542e8

File tree

4 files changed

+66
-12
lines changed

4 files changed

+66
-12
lines changed

content/code-security/dependabot/working-with-dependabot/dependabot-options-reference.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -607,7 +607,9 @@ Reviewers must have at least read access to the repository.
607607
| `interval` | **Required.** Defines the frequency for {% data variables.product.prodname_dependabot %}. |
608608
| `day` | Specify the day to run for a **weekly** interval. |
609609
| `time` | Specify the time to run. |
610+
| {% ifversion dependabot-schedule-updates %} |
610611
| `cronjob` | Defines the cron expression if the interval type is `cron`. |
612+
| {% endif %} |
611613
| `timezone` | Specify the timezone of the `time` value. |
612614

613615
{% ifversion fpt or ghec %}
@@ -630,18 +632,18 @@ Each package manager **must** define a schedule interval.
630632

631633
### `interval`
632634

633-
Supported values: `daily`, `weekly`, `monthly`, or `cron`
635+
Supported values: `daily`, `weekly`, `monthly`{% ifversion dependabot-schedule-updates %}, or `cron`{% endif %}
634636

635637
Each package manager **must** define a schedule interval.
636638

637639
* Use `daily` to run on every weekday, Monday to Friday.
638640
* Use `weekly` to run once a week, by default on Monday.
639-
* Use `monthly` to run on the first day of each month.
640-
* Use `cron` for cron expression based scheduling option. See [`cronjob`](#cronjob).
641+
* Use `monthly` to run on the first day of each month.{% ifversion dependabot-schedule-updates %}
642+
* Use `cron` for cron expression based scheduling option. See [`cronjob`](#cronjob).{% endif %}
641643

642644
{% endif %}
643645

644-
By default, {% data variables.product.prodname_dependabot %} randomly assigns a time to apply all the updates in the configuration file. You can use the `time` and `timezone` parameters to set a specific runtime for all intervals. If you use a `cron` interval, you can define the update time with a `cronjob` expression.
646+
By default, {% data variables.product.prodname_dependabot %} randomly assigns a time to apply all the updates in the configuration file. You can use the `time` and `timezone` parameters to set a specific runtime for all intervals. {% ifversion dependabot-schedule-updates %}If you use a `cron` interval, you can define the update time with a `cronjob` expression.{% endif %}
645647

646648
### `day`
647649

@@ -655,6 +657,8 @@ Format: `hh:mm`
655657

656658
Optionally, run all updates for a package manager at a specific time of day. By default, times are interpreted as UTC.
657659

660+
{% ifversion dependabot-schedule-updates %}
661+
658662
### `cronjob`
659663

660664
Supported values: Valid cron expression in cron syntax or natural expression.
@@ -684,6 +688,8 @@ updates:
684688
cronjob: "0 9 * * *"
685689
```
686690
691+
{% endif %}
692+
687693
### `timezone`
688694

689695
Specify a time zone for the `time` value.

content/code-security/securing-your-organization/enabling-security-features-in-your-organization/configuring-global-security-settings-for-your-organization.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -69,15 +69,17 @@ To update private dependencies of repositories in your organization, {% data var
6969
{% data reusables.code-scanning.about-code-scanning %}
7070

7171
{% ifversion ghes > 3.16 %}
72-
<!-- There is only one bullet point in this section, so we don't display a list for GHES 3.17. -->
72+
<!-- There is only one bullet point in this section, so we don't display a list for GHES 3.17+. -->
73+
74+
You can recommend that repositories in your organization use the "Extended" query suite instead of the "Default" query suite for broader {% data variables.product.prodname_code_scanning %} coverage across your organization. See [Recommending the extended query suite for default setup](#recommending-the-extended-query-suite-for-default-setup).
75+
7376
{% else %}
7477

7578
You can customize several {% data variables.product.prodname_global_settings %} for {% data variables.product.prodname_code_scanning %}:
7679

77-
{% ifversion code-scanning-autofix %}
78-
* [Enabling {% data variables.copilot.copilot_autofix_short %} for {% data variables.product.prodname_codeql %}](#enabling-copilot-autofix-for-codeql){% endif %}
80+
{% ifversion code-scanning-autofix %}* [Enabling {% data variables.copilot.copilot_autofix_short %} for {% data variables.product.prodname_codeql %}](#enabling-copilot-autofix-for-codeql){% endif %}
7981
* [Recommending the extended query suite for default setup](#recommending-the-extended-query-suite-for-default-setup){% ifversion ghes < 3.17 %}
80-
* [Setting a failure threshold for {% data variables.product.prodname_code_scanning %} checks in pull requests](#setting-a-failure-threshold-for-code-scanning-checks-in-pull-requests)
82+
* [Setting a failure threshold for {% data variables.product.prodname_code_scanning %} checks in pull requests](#setting-a-failure-threshold-for-code-scanning-checks-in-pull-requests).{% endif %}
8183

8284
{% endif %}
8385

@@ -108,7 +110,7 @@ You can choose the severity levels at which {% data variables.product.prodname_c
108110
You can customize several {% data variables.product.prodname_global_settings %} for {% data variables.product.prodname_secret_scanning %}:
109111

110112
* [Adding a resource link for blocked commits](#adding-a-resource-link-for-blocked-commits)
111-
* [Defining custom patterns](#defining-custom-patterns){% endif %}{% ifversion push-protected-pattern-configuration %}
113+
* [Defining custom patterns](#defining-custom-patterns){% ifversion push-protected-pattern-configuration %}
112114
* [Specifying patterns to include in push protection](#specifying-patterns-to-include-in-push-protection){% endif %}
113115

114116
### Adding a resource link for blocked commits

content/pull-requests/collaborating-with-pull-requests/reviewing-changes-in-pull-requests/reviewing-proposed-changes-in-a-pull-request.md

Lines changed: 43 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,18 +16,58 @@ shortTitle: Review proposed changes
1616
---
1717
## About reviewing pull requests
1818

19-
You can review changes in a pull request one file at a time. While reviewing the files in a pull request, you can leave individual comments on specific changes. After you finish reviewing each file, you can mark the file as viewed. This collapses the file, helping you identify the files you still need to review. A progress bar in the pull request header shows the number of files you've viewed. After reviewing as many files as you want, you can approve the pull request or request additional changes by submitting your review with a summary comment.
19+
It's best to review changes in a pull request one file at a time:
20+
21+
* **Examine** each individual file changed in the pull request.
22+
* **Leave comments** on specific changes.
23+
* After reviewing a file, mark it as **Viewed** to collapse it and track your progress.
24+
* The **progress bar** in the pull request header shows how many files you've viewed.
25+
* When you've finished, you can **approve** the pull request or **request changes** by submitting your review with a summary comment.
2026

2127
{% ifversion copilot %}
2228

2329
If the pull request was raised by {% data variables.product.prodname_copilot %} then, when you submit your comments, {% data variables.product.prodname_copilot_short %} will carry out more work to respond to your comments and will push a new commit to the pull request with further changes. See [AUTOTITLE](/copilot/concepts/about-copilot-coding-agent).
2430

2531
{% endif %}
2632

27-
{% data reusables.search.requested_reviews_search_tip %}
28-
2933
{% webui %}
3034

35+
## Understanding the purpose of the pull request
36+
37+
Gaining a clear understanding of the motivation behind a pull request helps inform your review, so you can keep it targeted and meaningful, and provide feedback that is aligned with the pull request author’s intent and the project's goals.
38+
39+
There are several options available to you to better understand the context and rationale for proposed changes.
40+
41+
### Using the pull request sidebar for context
42+
43+
In the pull request sidebar, you can find valuable context including:
44+
45+
* Linked **issues** or **discussions**: Review these to understand the problems or goals that the pull request aims to address, or to gather information on, for example, any background, design decisions, or current debates.
46+
* Linked **projects** or **milestones**: Review how this pull request fits within larger projects or upcoming releases.
47+
48+
Use this information to frame your review and check if the goals of the pull request align with the original intent.
49+
50+
{% ifversion copilot %}
51+
52+
### Using {% data variables.copilot.copilot_chat_short %} to understand the rationale
53+
54+
You can ask {% data variables.copilot.copilot_chat_short %} for help understanding the pull request’s intent or for clarification on any part of the change.
55+
56+
1. At the top right of the pull request page, click the **{% octicon "copilot" aria-label="Copilot icon" %}** button next to the search bar.
57+
58+
The full-page, immersive, mode of {% data variables.copilot.copilot_chat_short %} is displayed, with the pull request attached as context to the prompt window.
59+
60+
1. In the prompt box, type a question and press <kbd>Enter</kbd>. For example, you could enter:
61+
62+
* `What problem does this pull request solve?`
63+
* `Why were these changes needed?`
64+
* `Summarize the goals of this PR based on the linked issue.`
65+
* `How does this PR relate to issue ISSUE-URL?`
66+
67+
{% data variables.copilot.copilot_chat_short %} can help you clarify the bigger picture before diving into line-level review.
68+
69+
{% endif %}
70+
3171
## Starting a review
3272

3373
{% data reusables.repositories.sidebar-pr %}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Reference: #17004
2+
# Dependabot `schedule` enhancements [GA]
3+
versions:
4+
fpt: '*'
5+
ghec: '*'
6+
ghes: '> 3.17'

0 commit comments

Comments
 (0)