Skip to content

Commit 94e8c7b

Browse files
Chore: [AEA-5751] - Update dependabot schedule and add git secrets build command (#432)
## Summary update dependabot schedule - 🤖 Operational or Infrastructure Change Co-authored-by: anthony-nhs <[email protected]>
1 parent d806a8c commit 94e8c7b

File tree

2 files changed

+22
-12
lines changed

2 files changed

+22
-12
lines changed

.devcontainer/devcontainer.json

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,13 +8,6 @@
88
"context": "..",
99
"args": {}
1010
},
11-
"features": {
12-
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
13-
"version": "latest",
14-
"moby": "true",
15-
"installDockerBuildx": "true"
16-
}
17-
},
1811
"mounts": [
1912
"source=${env:HOME}${env:USERPROFILE}/.ssh,target=/home/vscode/.ssh,type=bind",
2013
"source=${env:HOME}${env:USERPROFILE}/.gnupg,target=/home/vscode/.gnupg,type=bind"
@@ -59,6 +52,14 @@
5952
}
6053
}
6154
},
62-
"remoteEnv": { "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}" },
63-
"postCreateCommand": "rm -f ~/.docker/config.json; git config --global --add safe.directory /workspaces/nhs-fhir-middy-error-handler; make install; direnv allow ."
55+
"remoteEnv": { "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}" },
56+
"postAttachCommand": "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",
57+
"features": {
58+
"ghcr.io/devcontainers/features/docker-outside-of-docker:1": {
59+
"version": "latest",
60+
"moby": "true",
61+
"installDockerBuildx": "true"
62+
},
63+
"ghcr.io/devcontainers/features/github-cli:1": {}
64+
}
6465
}

.github/dependabot.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,10 @@ 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
15+
open-pull-requests-limit: 20
1316
commit-message:
1417
prefix: "Upgrade: [dependabot] - "
1518

@@ -19,7 +22,10 @@ updates:
1922
- package-ecosystem: "npm"
2023
directory: "/"
2124
schedule:
22-
interval: "daily"
25+
interval: "weekly"
26+
day: "friday"
27+
time: "18:00" # UTC
28+
open-pull-requests-limit: 20
2329
commit-message:
2430
prefix: "Upgrade: [dependabot] - "
2531
versioning-strategy: increase
@@ -30,7 +36,10 @@ updates:
3036
- package-ecosystem: "pip"
3137
directory: "/"
3238
schedule:
33-
interval: "daily"
39+
interval: "weekly"
40+
day: "friday"
41+
time: "18:00" # UTC
42+
open-pull-requests-limit: 20
3443
commit-message:
3544
prefix: "Upgrade: [dependabot] - "
3645
versioning-strategy: increase

0 commit comments

Comments
 (0)