Skip to content

Commit

Permalink
fix ACTIONS_RUNNER_CONTAINER_HOOKS name in ADR (actions#2098)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikola-jokic committed May 12, 2023
1 parent a815fa9 commit a419d6c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/adrs/1891-container-hooks.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a419d6c

Please sign in to comment.