Skip to content

Commit e43f6ef

Browse files
authored
Merge pull request #54589 from github/repo-sync
Repo sync
2 parents 0e16bbc + a291f76 commit e43f6ef

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

content/actions/sharing-automations/creating-actions/metadata-syntax-for-github-actions.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -172,6 +172,9 @@ runs:
172172

173173
**Optional** Allows you to run a script at the start of a job, before the `main:` action begins. For example, you can use `pre:` to run a prerequisite setup script. The runtime specified with the [`using`](#runsusing-for-javascript-actions) syntax will execute this file. The `pre:` action always runs by default but you can override this using [`runs.pre-if`](#runspre-if).
174174

175+
> [!NOTE]
176+
> `runs.pre` is not supported for local actions.
177+
175178
In this example, the `pre:` action runs a script called `setup.js`:
176179

177180
```yaml
@@ -359,14 +362,10 @@ runs:
359362
last_name: Octocat
360363
```
361364

362-
{% ifversion ghes %}
363-
364365
#### `runs.steps[*].continue-on-error`
365366

366367
**Optional** Prevents the action from failing when a step fails. Set to `true` to allow the action to pass when this step fails.
367368

368-
{% endif %}
369-
370369
## `runs` for Docker container actions
371370

372371
**Required** Configures the image used for the Docker container action.

0 commit comments

Comments
 (0)