Skip to content

Commit cf64040

Browse files
authored
chore(dependabot): Include GitHub Actions in Dependabot config (#7013)
## Explanation This adds `actions/*` and `MetaMask/*` to the Dependabot config, ensuring we keep these actions up to date as well. I've limited it to these two, since we do use some other actions which are usually pinned to a specific hash, and require explicit approval to be used first. ## References MetaMask/metamask-module-template#274 ## Checklist - [ ] I've updated the test suite for new or updated code as appropriate - [ ] I've updated documentation (JSDoc, Markdown, etc.) for new or updated code as appropriate - [ ] I've communicated my changes to consumers by [updating changelogs for packages I've changed](https://github.com/MetaMask/core/tree/main/docs/contributing.md#updating-changelogs), highlighting breaking changes as necessary - [ ] I've prepared draft pull requests for clients and consumer packages to resolve any breaking changes <!-- CURSOR_SUMMARY --> --- > [!NOTE] > Adds Dependabot config for GitHub Actions with daily 06:00 runs on main, allowing MetaMask/* and actions/*, and capping open PRs at 10. > > - **Dependabot configuration**: > - **GitHub Actions updates**: Add `package-ecosystem: github-actions` with daily schedule at `06:00`, targeting `main`. > - Allow only `MetaMask/*` and `actions/*`. > - Set `open-pull-requests-limit` to `10`. > > <sup>Written by [Cursor Bugbot](https://cursor.com/dashboard?tab=bugbot) for commit 92188fd. This will update automatically on new commits. Configure [here](https://cursor.com/dashboard?tab=bugbot).</sup> <!-- /CURSOR_SUMMARY -->
1 parent 5d35ae5 commit cf64040

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

.github/dependabot.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Please see the documentation for all configuration options:
2-
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
2+
# https://docs.github.com/code-security/dependabot/dependabot-version-updates/configuration-options-for-the-dependabot.yml-file
33

44
version: 2
55
updates:
@@ -10,3 +10,14 @@ updates:
1010
allow:
1111
- dependency-name: '@metamask/*'
1212
versioning-strategy: 'increase'
13+
14+
- package-ecosystem: 'github-actions'
15+
directory: '/'
16+
schedule:
17+
interval: 'daily'
18+
time: '06:00'
19+
allow:
20+
- dependency-name: 'MetaMask/*'
21+
- dependency-name: 'actions/*'
22+
target-branch: 'main'
23+
open-pull-requests-limit: 10

0 commit comments

Comments
 (0)