Open
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
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.github.com/en/actions/sharing-automations/creating-actions/metadata-syntax-for-github-actions#runs-for-docker-container-actions and https://docs.github.com/en/actions/sharing-automations/creating-actions/metadata-syntax-for-github-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