Skip to content

Commit bed7f9a

Browse files
committed
Update dependabot and dev container
1 parent 6a68840 commit bed7f9a

2 files changed

Lines changed: 19 additions & 5 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,11 +52,19 @@
5252
"editor.formatOnType": false, // required
5353
"editor.formatOnSave": true, // optional
5454
"editor.formatOnSaveMode": "file",
55-
"cSpell.words": ["fhir", "Formik", "pino", "serialisation"]
55+
"cSpell.words": [
56+
"fhir",
57+
"Formik",
58+
"pino",
59+
"serialisation"
60+
]
5661
}
5762
}
5863
},
59-
"postCreateCommand": "rm -f ~/.docker/config.json; git config --global --add safe.directory /workspaces/eps-prescription-status-update; make install; direnv allow ."
64+
"remoteEnv": {
65+
"LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}"
66+
},
67+
"postCreateCommand": "rm -f ~/.docker/config.json; git config --global --add safe.directory /workspaces/eps-prescription-status-update; make install; direnv allow . && docker build -f https://raw.githubusercontent.com/NHSDigital/eps-workflow-quality-checks/refs/tags/v4.0.4/dockerfiles/nhsd-git-secrets.dockerfile -t git-secrets . && poetry run pre-commit install --install-hooks -f"
6068
// "features": {},
6169
// Use 'forwardPorts' to make a list of ports inside the container available locally.
6270
// "forwardPorts": [],

.github/dependabot.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ updates:
99
# default location of `.github/workflows`
1010
directory: "/"
1111
schedule:
12-
interval: "daily"
12+
interval: "weekly"
13+
day: "friday"
14+
time: "18:00" # UTC
1315
commit-message:
1416
prefix: "Upgrade: [dependabot] - "
1517

@@ -19,7 +21,9 @@ updates:
1921
- package-ecosystem: "npm"
2022
directory: "/"
2123
schedule:
22-
interval: "daily"
24+
interval: "weekly"
25+
day: "friday"
26+
time: "18:00" # UTC
2327
versioning-strategy: increase
2428
commit-message:
2529
prefix: "Upgrade: [dependabot] - "
@@ -31,7 +35,9 @@ updates:
3135
- package-ecosystem: "pip"
3236
directory: "/"
3337
schedule:
34-
interval: "daily"
38+
interval: "weekly"
39+
day: "friday"
40+
time: "18:00" # UTC
3541
versioning-strategy: increase
3642
commit-message:
3743
prefix: "Upgrade: [dependabot] - "

0 commit comments

Comments
 (0)