ember-cli / ember-cli/ember-cli-update

CI Failures from forks

Abierto
#1,085 0 comentarios 0 reacciones 0 asignados Ver en GitHub
internal
Lenguaje dominante
JavaScript
Estrellas
279
Forks
44
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Folks sending in a PR from their local forks will always cause a failure of the `ember-cli-update` CI job. This is due to the usage of `${{ secrets.GitHubToken }}` here:

https://github.com/ember-cli/ember-cli-update/blob/fc221be115e87049427d33f17cf11879637ea9c7/.github/workflows/ci.yml#L72-L73

Pull requests from forks will not have access to any `${{ secrets.* }}` content (for somewhat clear security reasons).

See [documentation here](https://docs.github.com/en/free-pro-team@latest/actions/reference/encrypted-secrets#using-encrypted-secrets-in-a-workflow), which starts out with:

> With the exception of GITHUB_TOKEN, secrets are not passed to the runner when a workflow is triggered from a forked repository.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

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.