1
0
mirror of synced 2026-01-20 21:02:43 -05:00

Merge pull request #30017 from github/repo-sync

repo sync
This commit is contained in:
Octomerger Bot
2022-08-17 02:06:49 -04:00
committed by GitHub

View File

@@ -433,7 +433,7 @@ runs:
For more information about how the `entrypoint` executes, see "[Dockerfile support for {% data variables.product.prodname_actions %}](/actions/creating-actions/dockerfile-support-for-github-actions/#entrypoint)."
### `post-entrypoint`
### `runs.post-entrypoint`
**Optional** Allows you to run a cleanup script once the `runs.entrypoint` action has completed. {% data variables.product.prodname_actions %} uses `docker run` to launch this action. Because {% data variables.product.prodname_actions %} runs the script inside a new container using the same base image, the runtime state is different from the main `entrypoint` container. You can access any state you need in either the workspace, `HOME`, or as a `STATE_` variable. The `post-entrypoint:` action always runs by default but you can override this using [`runs.post-if`](#runspost-if).