Skip to content

Commit 1becb1f

Browse files
kurgolmchammer01
andauthored
Enhance documentation for Dependabot interval options (#58055)
Co-authored-by: mc <42146119+mchammer01@users.noreply.github.com>
1 parent 317073e commit 1becb1f

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -610,6 +610,8 @@ Reviewers must have at least read access to the repository.
610610
| `cronjob` | Defines the cron expression if the interval type is `cron`. |
611611
| `timezone` | Specify the timezone of the `time` value. |
612612

613+
{% ifversion fpt or ghec %}
614+
613615
### `interval`
614616

615617
Supported values: `daily`, `weekly`, `monthly`, `quarterly`, `semiannually`, `yearly`, or `cron`
@@ -624,6 +626,21 @@ Each package manager **must** define a schedule interval.
624626
* Use `yearly` to run on the first day of January.
625627
* Use `cron` for cron expression based scheduling option. See [`cronjob`](#cronjob).
626628

629+
{% elsif ghes %}
630+
631+
### `interval`
632+
633+
Supported values: `daily`, `weekly`, `monthly`, or `cron`
634+
635+
Each package manager **must** define a schedule interval.
636+
637+
* Use `daily` to run on every weekday, Monday to Friday.
638+
* 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+
642+
{% endif %}
643+
627644
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.
628645

629646
### `day`

0 commit comments

Comments
 (0)