github / github/docs

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

Ouverte
#35,264 11 commentaires 1 réaction 0 personnes assignées Voir sur GitHub
actions content never-stale SME reviewed
Langage dominant
TypeScript
Étoiles
20.8k
Forks
68.7k
Merge moyen
12 h 24 min
PR mergées (30 j)
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

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.