Skip to content

Commit aad08d9

Browse files
authored
Chore: [AEA-5751] - Update dependabot schedule and add git secrets build command (#551)
## Summary - 🤖 Operational or Infrastructure Change
1 parent 0d2a265 commit aad08d9

2 files changed

Lines changed: 21 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: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,17 +9,22 @@ 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] - "
17+
open-pull-requests-limit: 20
1518

1619
###################################
1720
# NPM workspace ##################
1821
###################################
1922
- package-ecosystem: "npm"
2023
directory: "/"
2124
schedule:
22-
interval: "daily"
25+
interval: "weekly"
26+
day: "friday"
27+
time: "18:00" # UTC
2328
versioning-strategy: increase
2429
commit-message:
2530
prefix: "Upgrade: [dependabot] - "
@@ -31,7 +36,10 @@ updates:
3136
- package-ecosystem: "pip"
3237
directory: "/"
3338
schedule:
34-
interval: "daily"
39+
interval: "weekly"
40+
day: "friday"
41+
time: "18:00" # UTC
3542
versioning-strategy: increase
3643
commit-message:
3744
prefix: "Upgrade: [dependabot] - "
45+
open-pull-requests-limit: 20

0 commit comments

Comments
 (0)