From 2e421cf90e48d5ffd6cf1b0f96e9b9551bfd72e8 Mon Sep 17 00:00:00 2001 From: hankei6km Date: Sun, 17 Dec 2023 06:25:05 +0000 Subject: [PATCH] chore: chore: Add "prepare-commit-msg" to the devcontainer --- .devcontainer/devcontainer.json | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 616e376..40a19a3 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -29,8 +29,10 @@ "ghcr.io/devcontainers/features/common-utils:2": { "username": "node" }, - "ghcr.io/devcontainers/features/github-cli:1": {} + "ghcr.io/devcontainers/features/github-cli:1": {}, + "ghcr.io/hankei6km/h6-devcontainers-features/prepare-commit-msg-context:latest": {} }, "remoteUser": "node", - "updateContentCommand": "npm install -g @devcontainers/cli" + "updateContentCommand": "npm install -g @devcontainers/cli", + "postAttachCommand": "cp /usr/local/share/prepare-commit-msg-context/prepare-commit-msg .git/hooks/prepare-commit-msg" }