Open
@jsoref

Description

Code of Conduct

What article on docs..com is affected?

https://docs..com/en/actions/sharing-automations/creating-actions/metadata-syntax-for--actions#runspre-entrypoint

What part(s) of the article would you like to see updated?

I think a distinct .pre-if should be added to the https://docs..com/en/actions/sharing-automations/creating-actions/metadata-syntax-for--actions#runs-for-docker-container-actions and https://docs..com/en/actions/sharing-automations/creating-actions/metadata-syntax-for--actions#runspre-entrypoint's runs.pre-if link should be changed to point to it.

Additional information

Here's a run with pre-if: true:

  pre-entrypoint: '/pre.sh'
  pre-if: true

pre

Here's a run with pre-if: false (which is good because the pre-entrypoint was broken):

  pre-entrypoint: 'pre.sh'
  pre-if: false

https://.com/check-spelling-sandbox/bookish-rotary-phone/actions/runs/11798769996/job/32865715637