From 73a2a77ea984ca9162106414af379a4d4cfc6cd8 Mon Sep 17 00:00:00 2001 From: Tim Rogers Date: Fri, 25 Apr 2025 14:08:36 +0100 Subject: [PATCH 1/4] [docs-early-access] Add docs for Project Padawan private preview (#55382) From 9b561397dc1ebaf98428657d65c3718a3c92137b Mon Sep 17 00:00:00 2001 From: docs-bot <77750099+docs-bot@users.noreply.github.com> Date: Fri, 25 Apr 2025 09:57:52 -0700 Subject: [PATCH 2/4] GraphQL schema update (#55413) Co-authored-by: heiskr <1221423+heiskr@users.noreply.github.com> --- src/graphql/data/fpt/schema.docs.graphql | 2 +- src/graphql/data/fpt/schema.json | 3 +-- src/graphql/data/ghec/schema.docs.graphql | 2 +- src/graphql/data/ghec/schema.json | 3 +-- 4 files changed, 4 insertions(+), 6 deletions(-) diff --git a/src/graphql/data/fpt/schema.docs.graphql b/src/graphql/data/fpt/schema.docs.graphql index dbf1eaaea2d2..fa75d7e716c5 100644 --- a/src/graphql/data/fpt/schema.docs.graphql +++ b/src/graphql/data/fpt/schema.docs.graphql @@ -7899,7 +7899,7 @@ input CreateIssueInput { """ The Node ID of the issue type for this issue """ - issueTypeId: ID @possibleTypes(concreteTypes: ["IssueType"]) + issueTypeId: ID """ An array of Node IDs of labels for this issue. diff --git a/src/graphql/data/fpt/schema.json b/src/graphql/data/fpt/schema.json index 22136ff992d6..1a08b234493f 100644 --- a/src/graphql/data/fpt/schema.json +++ b/src/graphql/data/fpt/schema.json @@ -100107,8 +100107,7 @@ "type": "ID", "id": "id", "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "isDeprecated": false + "href": "/graphql/reference/scalars#id" }, { "name": "labelIds", diff --git a/src/graphql/data/ghec/schema.docs.graphql b/src/graphql/data/ghec/schema.docs.graphql index dbf1eaaea2d2..fa75d7e716c5 100644 --- a/src/graphql/data/ghec/schema.docs.graphql +++ b/src/graphql/data/ghec/schema.docs.graphql @@ -7899,7 +7899,7 @@ input CreateIssueInput { """ The Node ID of the issue type for this issue """ - issueTypeId: ID @possibleTypes(concreteTypes: ["IssueType"]) + issueTypeId: ID """ An array of Node IDs of labels for this issue. diff --git a/src/graphql/data/ghec/schema.json b/src/graphql/data/ghec/schema.json index 22136ff992d6..1a08b234493f 100644 --- a/src/graphql/data/ghec/schema.json +++ b/src/graphql/data/ghec/schema.json @@ -100107,8 +100107,7 @@ "type": "ID", "id": "id", "kind": "scalars", - "href": "/graphql/reference/scalars#id", - "isDeprecated": false + "href": "/graphql/reference/scalars#id" }, { "name": "labelIds", From 7b80710e9da85bba2c4fbc8af2a1dc8d692d0861 Mon Sep 17 00:00:00 2001 From: Joe Clark <31087804+jc-clark@users.noreply.github.com> Date: Fri, 25 Apr 2025 10:05:03 -0700 Subject: [PATCH 3/4] Add open in vs code button to "Setting up Copilot for learning to code" (#55405) Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Co-authored-by: Laura Coursen --- .../setting-up-copilot-for-learning-to-code.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/content/get-started/learning-to-code/setting-up-copilot-for-learning-to-code.md b/content/get-started/learning-to-code/setting-up-copilot-for-learning-to-code.md index ff75f2a2e442..bcf9989d65b5 100644 --- a/content/get-started/learning-to-code/setting-up-copilot-for-learning-to-code.md +++ b/content/get-started/learning-to-code/setting-up-copilot-for-learning-to-code.md @@ -62,6 +62,8 @@ You're ready to start building real coding skills with {% data variables.product Throughout your work on the project, engage in a long-running conversation with **{% data variables.product.prodname_copilot_chat_short %}**. Treat it as your **personal tutor**, asking questions as they arise and using it to navigate challenges or clarify concepts. -> [!TIP] You can open {% data variables.product.prodname_copilot_chat_short %} with a keyboard shortcut: Ctrl+Alt+I (Windows/Linux) or Command+Shift+I (Mac). + +Open {% data variables.product.prodname_copilot_chat_short %} in {% data variables.product.prodname_vscode_shortname %} {% octicon "link-external" height:16 %} +

{% data variables.product.prodname_copilot_chat_short %} is especially helpful for debugging your code. For step-by-step guidance, see [AUTOTITLE](/get-started/learning-to-code/learning-to-debug-with-github-copilot). From b1c847f583c2a50997e7414ff9c00f7b1d7b2922 Mon Sep 17 00:00:00 2001 From: "S.Sandhu" <167903774+sachin-sandhu@users.noreply.github.com> Date: Fri, 25 Apr 2025 13:42:06 -0400 Subject: [PATCH 4/4] Changes for cronjob related changes and additional scheduling options (#55365) Co-authored-by: John Clement <70238417+jclement136@users.noreply.github.com> --- .../dependabot-options-reference.md | 42 ++++++++++++++++++- 1 file changed, 40 insertions(+), 2 deletions(-) diff --git a/content/code-security/dependabot/working-with-dependabot/dependabot-options-reference.md b/content/code-security/dependabot/working-with-dependabot/dependabot-options-reference.md index f32e56b6ac90..d9bb976d0a92 100644 --- a/content/code-security/dependabot/working-with-dependabot/dependabot-options-reference.md +++ b/content/code-security/dependabot/working-with-dependabot/dependabot-options-reference.md @@ -482,18 +482,22 @@ Reviewers must have at least read access to the repository. | `interval` | **Required.** Defines the frequency for {% data variables.product.prodname_dependabot %}. | | `day` | Specify the day to run for a **weekly** interval. | | `time` | Specify the time to run. | +| `cronjob` | Defines the cron expression if the interval type is `cron`. | | `timezone` | Specify the timezone of the `time` value. | ### `interval` -Supported values: `daily`, `weekly`, or `monthly` +Supported values: `daily`, `weekly`, `monthly`, `quarterly`, `semiannually`, `yearly`, or `cron` Each package manager **must** define a schedule interval. * Use `daily` to run on every weekday, Monday to Friday. * Use `weekly` to run once a week, by default on Monday. * Use `monthly` to run on the first day of each month. - +* Use `quarterly` to run on the first day of each quarter (January, April, July, and October). +* Use `semiannually` to run every six months, on the first day of January and July. +* Use `yearly` to run on the first day of January. +* Use `cron` for cron expression based scheduling option. See [`cronjob`](#cronjob). 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. ### `day` @@ -508,6 +512,40 @@ Format: `hh:mm` Optionally, run all updates for a package manager at a specific time of day. By default, times are interpreted as UTC. +### `cronjob` + +Supported values: Valid cron expression in cron format or natural expression. + +Examples : `0 9 * * *`, `every day at 5pm` + +cron format is defined as the following: +* `*` The minute field. +* `*` The hour field (in 24-hour time). +* `*` The day of the month (matches any day of the month). +* `*` The month (matches any month). +* `*` The day of the week (matches any day of the week). + +`0 9 * * *` is equivalent to "every day at 9am". `every day at 5pm` is equivalent to `0 17 * * *`. + +> [!NOTE] +> A `cronjob` type schedule is required to use a `cron` interval. + +```yaml copy + +# Basic `dependabot.yml` file for cronjob + +version: 2 +updates: + # Enable version updates for npm + - package-ecosystem: "npm" + # Look for `package.json` and `lock` files in the `root` directory + directory: "/" + # Check the npm registry for updates based on `cronjob` value + schedule: + interval: "cron" + cronjob: "0 9 * * *" +``` + ### `timezone` Specify a time zone for the `time` value.