From bed7f9ae94b29b59582c1b27431840c88e0b2d14 Mon Sep 17 00:00:00 2001 From: Jim Wild Date: Thu, 11 Sep 2025 14:47:39 +0000 Subject: [PATCH 1/2] Update dependabot and dev container --- .devcontainer/devcontainer.json | 12 ++++++++++-- .github/dependabot.yml | 12 +++++++++--- 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index c7c78454..0bd12e1d 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -52,11 +52,19 @@ "editor.formatOnType": false, // required "editor.formatOnSave": true, // optional "editor.formatOnSaveMode": "file", - "cSpell.words": ["fhir", "Formik", "pino", "serialisation"] + "cSpell.words": [ + "fhir", + "Formik", + "pino", + "serialisation" + ] } } }, - "postCreateCommand": "rm -f ~/.docker/config.json; git config --global --add safe.directory /workspaces/eps-prescription-status-update; make install; direnv allow ." + "remoteEnv": { + "LOCAL_WORKSPACE_FOLDER": "${localWorkspaceFolder}" + }, + "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" // "features": {}, // Use 'forwardPorts' to make a list of ports inside the container available locally. // "forwardPorts": [], diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 32e43c50..09d6f183 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,7 +9,9 @@ updates: # default location of `.github/workflows` directory: "/" schedule: - interval: "daily" + interval: "weekly" + day: "friday" + time: "18:00" # UTC commit-message: prefix: "Upgrade: [dependabot] - " @@ -19,7 +21,9 @@ updates: - package-ecosystem: "npm" directory: "/" schedule: - interval: "daily" + interval: "weekly" + day: "friday" + time: "18:00" # UTC versioning-strategy: increase commit-message: prefix: "Upgrade: [dependabot] - " @@ -31,7 +35,9 @@ updates: - package-ecosystem: "pip" directory: "/" schedule: - interval: "daily" + interval: "weekly" + day: "friday" + time: "18:00" # UTC versioning-strategy: increase commit-message: prefix: "Upgrade: [dependabot] - " From 17ce871bae8f4899b3ada6a967e2059a22d3184a Mon Sep 17 00:00:00 2001 From: Jim Wild Date: Fri, 12 Sep 2025 09:28:42 +0100 Subject: [PATCH 2/2] Add open PR limit --- .github/dependabot.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 09d6f183..2981a97f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -14,6 +14,7 @@ updates: time: "18:00" # UTC commit-message: prefix: "Upgrade: [dependabot] - " + open-pull-requests-limit: 20 ################################### # NPM workspace ################## @@ -41,3 +42,4 @@ updates: versioning-strategy: increase commit-message: prefix: "Upgrade: [dependabot] - " + open-pull-requests-limit: 20