github / github/docs

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

Abierto
#35,264 11 comentarios 1 reacción 0 asignados Ver en GitHub
actions content never-stale SME reviewed
Lenguaje dominante
TypeScript
Estrellas
20.8k
Forks
68.7k
Merge medio
12 h 24 min
PR fusionados (30 d)
105

Descripción

### 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

Guía de contribución

Abrir la guía de contribución

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.