Skip to content

Commit

Permalink
Add read permission to opensafely/server-instructions
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Jongmassey committed May 20, 2024
1 parent 92d8289 commit fa0edb0
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,15 @@
},
// Configure tool-specific properties.
"customizations": {
"codespaces": {
"repositories": {
"opensafely/server-instructions": {
"permissions": {
"contents": "read"
}
}
}
},
"vscode": {
"extensions": [
"ms-python.python",
Expand All @@ -38,7 +47,9 @@
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 1000,
"git.autofetch": true,
"python.analysis.extraPaths": [".devcontainer/ehrql-main/"],
"python.analysis.extraPaths": [
".devcontainer/ehrql-main/"
],
"python.defaultInterpreterPath": "/opt/venv/bin/python",
"python.terminal.activateEnvInCurrentTerminal": true,
"python.terminal.activateEnvironment": true,
Expand All @@ -51,4 +62,4 @@
"remoteEnv": {
"MAX_WORKERS": "2"
}
}
}

0 comments on commit fa0edb0

Please sign in to comment.