Docker pre.entrypoint links to Node pre.pre-if
- Dominant language
- TypeScript
- Stars
- 20.8k
- Forks
- 68.7k
- Avg merge
- 12h 24m
- Merged PRs (30d)
- 105
Description
### Code of Conduct
- [X] I have read and agree to the GitHub Docs project's [Code of Conduct](https://github.com/github/docs/blob/main/.github/CODE_OF_CONDUCT.md)
### What article on docs.github.com is affected?
https://docs.github.com/en/actions/sharing-automations/creating-actions/metadata-syntax-for-github-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.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](https://docs.github.com/en/actions/sharing-automations/creating-actions/metadata-syntax-for-github-actions#runspre-if) link should be changed to point to it.
### Additional information
Here's a [run](https://github.com/check-spelling-sandbox/bookish-rotary-phone/actions/runs/11798849757/job/32865989146#step:3:4) with [`pre-if: true`](https://github.com/check-spelling-sandbox/bookish-rotary-phone/blob/f2d5070741851073be004b8e2101cc19716ae24a/action.yml#L4-L5):
```yml
pre-entrypoint: '/pre.sh'
pre-if: true
```
> pre
Here's a [run](https://github.com/check-spelling-sandbox/bookish-rotary-phone/actions/runs/11798769996/job/32865715637#step:2:1) with [`pre-if: false`](https://github.com/check-spelling-sandbox/bookish-rotary-phone/blob/b5026f5af816eedd733474e1d70f85d4d73fe5f8/action.yml#L4-L5) (which is good because the pre-entrypoint was broken):
```yml
pre-entrypoint: 'pre.sh'
pre-if: false
```
https://github.com/check-spelling-sandbox/bookish-rotary-phone/actions/runs/11798769996/job/32865715637
Contributor guide
Assessment
This issue has not been assessed yet.