From 75786756bbe951b2a1ee3ca9e506888e61af7428 Mon Sep 17 00:00:00 2001 From: Nikola Jokic <97525037+nikola-jokic@users.noreply.github.com> Date: Tue, 6 Sep 2022 07:45:00 -0700 Subject: [PATCH] fix ACTIONS_RUNNER_CONTAINER_HOOKS name in ADR (#2098) --- docs/adrs/1891-container-hooks.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/adrs/1891-container-hooks.md b/docs/adrs/1891-container-hooks.md index 1ab14d85f..5c905e405 100644 --- a/docs/adrs/1891-container-hooks.md +++ b/docs/adrs/1891-container-hooks.md @@ -16,7 +16,7 @@ We should give them that option, and publish examples how how they can create th - For example, the current runner overrides `HOME`, we can do that in the hook, but we shouldn't pass that hook as an ENV with the other env's the user has set, as that is not user input, it is how the runner invokes containers ## Interface -- You will set the variable `ACTIONS_RUNNER_CONTAINER_HOOK=/Users/foo/runner/hooks.js` which is the entrypoint to your hook handler. +- You will set the variable `ACTIONS_RUNNER_CONTAINER_HOOKS=/Users/foo/runner/hooks.js` which is the entrypoint to your hook handler. - There is no partial opt in, you must handle every hook - We will pass a command and some args via `stdin` - An exit code of 0 is a success, every other exit code is a failure