Skip to content

docs: clarify Docker action pre-if metadata#44466

Open
sgibler-droid wants to merge 1 commit into
github:mainfrom
sgibler-droid:docs/actions-docker-pre-if
Open

docs: clarify Docker action pre-if metadata#44466
sgibler-droid wants to merge 1 commit into
github:mainfrom
sgibler-droid:docs/actions-docker-pre-if

Conversation

@sgibler-droid
Copy link
Copy Markdown

Summary

Clarifies the Docker action metadata docs around pre-entrypoint and pre-if.

Changes

  • Adds a Docker-specific runs.pre-if section under Docker container action metadata.
  • Updates the runs.pre-entrypoint paragraph to link to the Docker-specific pre-if anchor instead of the JavaScript-action pre-if section.
  • Adds a small Docker action example showing pre-entrypoint guarded by pre-if.

Fixes #35264.

@github-actions
Copy link
Copy Markdown
Contributor

How to review these changes 👓

Thank you for your contribution. To review these changes, choose one of the following options:

A Hubber will need to deploy your changes internally to review.

Table of review links

Note: Please update the URL for your staging server or codespace.

The table shows the files in the content directory that were changed in this pull request. This helps you review your changes on a staging server. Changes to the data directory are not included in this table.

Source Review Production What Changed
actions/reference/workflows-and-actions/metadata-syntax.md fpt
ghec
ghes@ 3.21 3.20 3.19 3.18 3.17 3.16
fpt
ghec
ghes@ 3.21 3.20 3.19 3.18 3.17 3.16

Key: fpt: Free, Pro, Team; ghec: GitHub Enterprise Cloud; ghes: GitHub Enterprise Server

🤖 This comment is automatically generated.

@github-actions github-actions Bot added the triage Do not begin working on this issue until triaged by the team label May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

triage Do not begin working on this issue until triaged by the team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Docker pre.entrypoint links to Node pre.pre-if

1 participant