generated from ghostwriter/wip
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
arm.php
43 lines (40 loc) · 1.79 KB
/
arm.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
<?php
declare(strict_types=1);
use Ghostwriter\AutomatedRepositoryManager\Configuration;
use Ghostwriter\AutomatedRepositoryManager\Task\AddToGitIgnore;
use Ghostwriter\AutomatedRepositoryManager\Task\RemoveDirectory;
use Ghostwriter\AutomatedRepositoryManager\Task\RemoveFile;
use Ghostwriter\AutomatedRepositoryManager\Task\ReplaceInFile;
use Ghostwriter\AutomatedRepositoryManager\Task\UpdateComposerDevPackageVersion;
use Ghostwriter\AutomatedRepositoryManager\Task\UpdateComposerPackageVersion;
use Ghostwriter\AutomatedRepositoryManager\Task\UpdateNpmPackageVersion;
return Configuration::new()
->owners('ActionableSteps', 'BMHVillage', 'codepoet', 'ghostwriter', 'laminas', 'mezzio', 'mockery', 'nathane')
->repositories('CollectiveUnconscious/gist-blog')
->skip('ghostwriter/compliance', 'mockery/mockery')
->skipTopics('security-only', 'security-updates-only')
->tasks([
AddToGitIgnore::class => ['!.gitkeep', '.cache/', '.env', 'node_modules/', 'vendor/'],
RemoveFile::class => ['file.txt'],
RemoveDirectory::class => ['directory'],
ReplaceInFile::class => [
'.gitignore' => [
'search' => 'replace',
'#regex-search#' => 'regex-replace',
],
'LICENSE' => [
'#Copyright \(c\) (.*?), Nathanael Esayeas#' => 'Copyright (c) 2014-2024, Nathanael Esayeas',
],
],
UpdateComposerPackageVersion::class => [
'php' => '>=8.3',
'ghostwriter/event-dispatcher' => '^5.0.1',
'ghostwriter/container' => '^4.0.1',
],
UpdateComposerDevPackageVersion::class => [
'ghostwriter/coding-standard' => 'dev-main',
],
UpdateNpmPackageVersion::class => [
'axios' => '1.7.2',
],
]);