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..2981a97f 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -9,9 +9,12 @@ updates: # default location of `.github/workflows` directory: "/" schedule: - interval: "daily" + interval: "weekly" + day: "friday" + time: "18:00" # UTC commit-message: prefix: "Upgrade: [dependabot] - " + open-pull-requests-limit: 20 ################################### # NPM workspace ################## @@ -19,7 +22,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 +36,10 @@ updates: - package-ecosystem: "pip" directory: "/" schedule: - interval: "daily" + interval: "weekly" + day: "friday" + time: "18:00" # UTC versioning-strategy: increase commit-message: prefix: "Upgrade: [dependabot] - " + open-pull-requests-limit: 20