Skip to content

Commit 2a97d81

Browse files
committed
Adds Dependabot configuration and updates the Sync command to copy the dependabot.yml file.
Signed-off-by: Felipe Sayão Lobato Abreu <github@mentordosnerds.com>
1 parent 4772e8a commit 2a97d81

2 files changed

Lines changed: 24 additions & 1 deletion

File tree

resources/dependabot.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: "composer"
4+
directory: "/"
5+
schedule:
6+
interval: "weekly"
7+
commit-message:
8+
prefix: "Composer"
9+
include: "scope"
10+
labels:
11+
- "composer"
12+
- "dependencies"
13+
14+
- package-ecosystem: "github-actions"
15+
directory: "/"
16+
schedule:
17+
interval: "weekly"
18+
commit-message:
19+
prefix: "GitHub Actions"
20+
include: "scope"
21+
labels:
22+
- "github-actions"
23+
- "continuous-integration"

src/Command/SyncCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,7 @@ private function copyEditorConfig(): void
179179
*/
180180
private function copyDependabotConfig(): void
181181
{
182-
$source = parent::getDevToolsFile('dependabot.yml');
182+
$source = parent::getDevToolsFile('resources/dependabot.yml');
183183
$target = parent::getConfigFile('.github/dependabot.yml', true);
184184

185185
if ($this->filesystem->exists($target)) {

0 commit comments

Comments
 (0)