Skip to content

Commit a741792

Browse files
committed
created devcontainer config, updated dependabot
1 parent 94869b4 commit a741792

File tree

2 files changed

+53
-4
lines changed

2 files changed

+53
-4
lines changed

.devcontainer/devcontainer.json

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
// For format details, see https://aka.ms/devcontainer.json. For config options, see the
2+
// README at: https://github.com/devcontainers/templates/tree/main/src/php
3+
{
4+
"name": "PHP",
5+
// Or use a Dockerfile or Docker Compose file. More info: https://containers.dev/guide/dockerfile
6+
"image": "mcr.microsoft.com/devcontainers/php:1-8.2-bullseye",
7+
8+
// Features to add to the dev container. More info: https://containers.dev/features.
9+
"features": {
10+
"ghcr.io/devcontainers/features/github-cli:1": {},
11+
"ghcr.io/devcontainers/features/node:1": {}
12+
},
13+
14+
// Configure tool-specific properties.
15+
"customizations": {
16+
// Configure properties specific to VS Code.
17+
"vscode": {
18+
"extensions": [
19+
"ikappas.composer",
20+
"editorconfig.editorconfig",
21+
"junstyle.php-cs-fixer",
22+
"ms-vscode.makefile-tools",
23+
"recca0120.vscode-phpunit"
24+
]
25+
}
26+
},
27+
28+
// Use 'forwardPorts' to make a list of ports inside the container available locally.
29+
"forwardPorts": [
30+
8080
31+
],
32+
33+
// Use 'postCreateCommand' to run commands after the container is created.
34+
"postCreateCommand": "sudo chmod a+x \"$(pwd)\" && sudo rm -rf /var/www/html && sudo ln -s \"$(pwd)\" /var/www/html; test -f composer.json && composer install"
35+
36+
// Uncomment to connect as root instead. More info: https://aka.ms/dev-containers-non-root.
37+
// "remoteUser": "root"
38+
}

.github/dependabot.yaml

+15-4
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@
33
version: 2
44

55
updates:
6-
- allow:
6+
- package-ecosystem: "composer"
7+
allow:
78
- dependency-type: "development"
89
commit-message:
910
include: "scope"
@@ -12,18 +13,28 @@ updates:
1213
labels:
1314
- "dependency"
1415
open-pull-requests-limit: 10
15-
package-ecosystem: "composer"
1616
schedule:
1717
interval: "weekly"
1818
versioning-strategy: "increase"
1919

20-
- commit-message:
20+
- package-ecosystem: "github-actions"
21+
commit-message:
2122
include: "scope"
2223
prefix: "github-actions"
2324
directory: "/"
2425
labels:
2526
- "dependency"
2627
open-pull-requests-limit: 10
27-
package-ecosystem: "github-actions"
28+
schedule:
29+
interval: "weekly"
30+
31+
- package-ecosystem: "devcontainers"
32+
commit-message:
33+
include: "scope"
34+
prefix: "devcontainers"
35+
directory: "/"
36+
labels:
37+
- "dependency"
38+
open-pull-requests-limit: 10
2839
schedule:
2940
interval: "weekly"

0 commit comments

Comments
 (0)