Skip to content

Commit 116980c

Browse files
authored
Merge pull request #20978 from github/mchammer01/dependabot-yml-weekly
Change the interval from daily to weekly in some dependabot.yml code snippets
2 parents f32e6ac + 253e2a4 commit 116980c

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

content/code-security/dependabot/dependabot-version-updates/configuring-dependabot-version-updates.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ updates:
137137
- package-ecosystem: "npm"
138138
directory: "/"
139139
schedule:
140-
interval: "daily"
140+
interval: "weekly"
141141
ignore:
142142
# Ignore updates to packages that start with 'aws'
143143
# Wildcards match zero or more arbitrary characters

content/code-security/dependabot/dependabot-version-updates/customizing-dependency-updates.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ updates:
8484
- package-ecosystem: "npm"
8585
directory: "/"
8686
schedule:
87-
interval: "daily"
87+
interval: "weekly"
8888
# Raise all npm pull requests with reviewers
8989
reviewers:
9090
- "my-org/team-name"
@@ -118,7 +118,7 @@ updates:
118118
- package-ecosystem: "npm"
119119
directory: "/"
120120
schedule:
121-
interval: "daily"
121+
interval: "weekly"
122122
# Raise all npm pull requests with custom labels
123123
labels:
124124
- "npm dependencies"
@@ -128,7 +128,7 @@ updates:
128128
- package-ecosystem: "docker"
129129
directory: "/"
130130
schedule:
131-
interval: "daily"
131+
interval: "weekly"
132132
# Raise pull requests for Docker version updates
133133
# against the "develop" branch. The Docker configuration
134134
# no longer affects security update pull requests.

content/code-security/dependabot/working-with-dependabot/keeping-your-actions-up-to-date-with-dependabot.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ You can also enable {% data variables.product.prodname_dependabot_version_update
4343

4444
### Example *dependabot.yml* file for {% data variables.product.prodname_actions %}
4545

46-
The example *dependabot.yml* file below configures version updates for {% data variables.product.prodname_actions %}. The `directory` must be set to `"/"` to check for workflow files in `.github/workflows`. The `schedule.interval` is set to `"daily"`. After this file has been checked in or updated, {% data variables.product.prodname_dependabot %} checks for new versions of your actions. {% data variables.product.prodname_dependabot %} will raise pull requests for version updates for any outdated actions that it finds. After the initial version updates, {% data variables.product.prodname_dependabot %} will continue to check for outdated versions of actions once a day.
46+
The example *dependabot.yml* file below configures version updates for {% data variables.product.prodname_actions %}. The `directory` must be set to `"/"` to check for workflow files in `.github/workflows`. The `schedule.interval` is set to `"weekly"`. After this file has been checked in or updated, {% data variables.product.prodname_dependabot %} checks for new versions of your actions. {% data variables.product.prodname_dependabot %} will raise pull requests for version updates for any outdated actions that it finds. After the initial version updates, {% data variables.product.prodname_dependabot %} will continue to check for outdated versions of actions once a week.
4747

4848
```yaml
4949
# Set update schedule for GitHub Actions
@@ -55,7 +55,7 @@ updates:
5555
directory: "/"
5656
schedule:
5757
# Check for updates to GitHub Actions every weekday
58-
interval: "daily"
58+
interval: "weekly"
5959
```
6060
6161
## Configuring {% data variables.product.prodname_dependabot_version_updates %} for actions

0 commit comments

Comments
 (0)