From 4f42f7d32b0d9c5a86489c944e8ea0a0862ce703 Mon Sep 17 00:00:00 2001 From: Jon Massey Date: Mon, 20 May 2024 08:40:26 +0100 Subject: [PATCH] Add read permission to opensafely/server-instructions This gives the auto-generated PAT used for git operations within this codespace read permissions to the server-instructions repo which contains the stata license file needed to run stata actions --- .devcontainer/devcontainer.json | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 2aca111..7d59d93 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -27,6 +27,15 @@ }, // Configure tool-specific properties. "customizations": { + "codespaces": { + "repositories": { + "opensafely/server-instructions": { + "permissions": { + "contents": "read" + } + } + } + }, "vscode": { "extensions": [ "ms-python.python", @@ -51,4 +60,4 @@ "remoteEnv": { "MAX_WORKERS": "2" } -} +} \ No newline at end of file